<86>Nov 22 03:40:02 userdel[28313]: delete user 'rooter' <86>Nov 22 03:40:02 userdel[28313]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 22 03:40:02 groupadd[28319]: group added to /etc/group: name=rooter, GID=516 <86>Nov 22 03:40:02 groupadd[28319]: group added to /etc/gshadow: name=rooter <86>Nov 22 03:40:02 groupadd[28319]: new group: name=rooter, GID=516 <86>Nov 22 03:40:02 useradd[28323]: new user: name=rooter, UID=516, GID=516, home=/root, shell=/bin/bash <86>Nov 22 03:40:02 userdel[28331]: delete user 'builder' <86>Nov 22 03:40:02 userdel[28331]: removed group 'builder' owned by 'builder' <86>Nov 22 03:40:02 userdel[28331]: removed shadow group 'builder' owned by 'builder' <86>Nov 22 03:40:02 groupadd[28336]: group added to /etc/group: name=builder, GID=517 <86>Nov 22 03:40:02 groupadd[28336]: group added to /etc/gshadow: name=builder <86>Nov 22 03:40:02 groupadd[28336]: new group: name=builder, GID=517 <86>Nov 22 03:40:02 useradd[28340]: new user: name=builder, UID=517, GID=517, home=/usr/src, shell=/bin/bash <13>Nov 22 03:40:09 rpmi: perl-ph-0.11-alt1 1379318651 installed <13>Nov 22 03:40:09 rpmi: perl-Perl4-CoreLibs-0.004-alt1 1502964039 installed <13>Nov 22 03:40:09 rpmi: libnspr-1:4.20-alt1 sisyphus.216395.100 1542113038 installed <13>Nov 22 03:40:09 rpmi: libnatspec-0.3.1-alt2 1445691578 installed <13>Nov 22 03:40:09 rpmi: libffi-devel-1:3.2.1-alt2 1528881748 installed <13>Nov 22 03:40:10 rpmi: libicu63-1:6.3.1-alt1 sisyphus.215328.100 1540049981 installed <13>Nov 22 03:40:10 rpmi: icu-utils-1:6.3.1-alt1 sisyphus.215328.100 1540049981 installed <13>Nov 22 03:40:12 rpmi: glibc-devel-static-6:2.27-alt6 1530125885 installed <13>Nov 22 03:40:12 rpmi: gcc-c++-common-1.4.22-alt1 1519183788 installed <13>Nov 22 03:40:12 rpmi: libstdc++8-devel-8.2.1-alt1 sisyphus.214000.20 1542662172 installed <13>Nov 22 03:40:13 rpmi: gcc8-c++-8.2.1-alt1 sisyphus.214000.20 1542662172 installed <13>Nov 22 03:40:13 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831969 installed <13>Nov 22 03:40:13 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831969 installed <13>Nov 22 03:40:14 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Nov 22 03:40:14 rpmi: python-modules-curses-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 22 03:40:14 rpmi: libverto-0.3.0-alt1_5 1525957716 installed <13>Nov 22 03:40:14 rpmi: libkeyutils-1.5.10-alt1 1489994069 installed <13>Nov 22 03:40:14 rpmi: libcom_err-1.44.3-alt1 1532134713 installed <13>Nov 22 03:40:14 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Nov 22 03:40:14 rpmi: libtasn1-4.13-alt2 1521133848 installed <13>Nov 22 03:40:14 rpmi: rpm-macros-alternatives-0.4.5-alt1.1 1404382149 installed <13>Nov 22 03:40:14 rpmi: alternatives-0.4.5-alt1.1 1404382149 installed <13>Nov 22 03:40:14 rpmi: libp11-kit-0.23.9-alt5 1525798241 installed <13>Nov 22 03:40:14 rpmi: ca-certificates-2018.11.12-alt1 sisyphus.216395.300 1542114035 installed <13>Nov 22 03:40:14 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Nov 22 03:40:14 rpmi: p11-kit-trust-0.23.9-alt5 1525798241 installed <13>Nov 22 03:40:14 rpmi: libcrypto1.1-1.1.0i-alt1 1535471288 installed <13>Nov 22 03:40:14 rpmi: libssl1.1-1.1.0i-alt1 1535471288 installed <86>Nov 22 03:40:14 groupadd[32486]: group added to /etc/group: name=_keytab, GID=499 <86>Nov 22 03:40:14 groupadd[32486]: group added to /etc/gshadow: name=_keytab <86>Nov 22 03:40:14 groupadd[32486]: new group: name=_keytab, GID=499 <13>Nov 22 03:40:14 rpmi: libkrb5-1.16.2-alt1 sisyphus.216047.100 1541159108 installed <13>Nov 22 03:40:14 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Nov 22 03:40:14 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Nov 22 03:40:14 rpmi: python-modules-compiler-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 22 03:40:14 rpmi: python-modules-email-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 22 03:40:14 rpmi: python-modules-unittest-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 22 03:40:14 rpmi: python-modules-nis-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 22 03:40:14 rpmi: python-modules-encodings-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 22 03:40:14 rpmi: python-modules-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 22 03:40:14 rpmi: python-modules-ctypes-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 22 03:40:14 rpmi: python-modules-multiprocessing-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 22 03:40:14 rpmi: python-modules-logging-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 22 03:40:14 rpmi: python-tools-2to3-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 22 03:40:14 rpmi: python-modules-xml-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 22 03:40:14 rpmi: python-modules-hotshot-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 22 03:40:14 rpmi: python-modules-bsddb-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 22 03:40:14 rpmi: python-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 22 03:40:15 rpmi: python-modules-distutils-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 22 03:40:15 rpmi: python-module-pkg_resources-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Nov 22 03:40:15 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Nov 22 03:40:15 rpmi: python-dev-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 22 03:40:15 rpmi: python-module-setuptools-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Nov 22 03:40:15 rpmi: python-modules-json-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 22 03:40:15 rpmi: gcc-c++-8-alt1 sisyphus.214000.40 1542664792 installed <13>Nov 22 03:40:15 rpmi: libffi-devel-static-1:3.2.1-alt2 1528881748 installed <13>Nov 22 03:40:15 rpmi: libicu-devel-1:6.3.1-alt1 sisyphus.215328.100 1540049981 installed <13>Nov 22 03:40:15 rpmi: unzip-6.0-alt2.qa1 1366155323 installed <13>Nov 22 03:40:15 rpmi: libnspr-devel-1:4.20-alt1 sisyphus.216395.100 1542113038 installed <13>Nov 22 03:40:15 rpmi: autoconf_2.13-2:2.13-alt13 1533423976 installed <13>Nov 22 03:40:15 rpmi: libreadline-devel-7.0.3-alt2 1526988921 installed <13>Nov 22 03:40:15 rpmi: zlib-devel-1.2.8-alt1 1371079009 installed <13>Nov 22 03:40:15 rpmi: zip-30000000:3.0-alt1 1332241778 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/libmozjs31-31.2.0-alt1.nosrc.rpm Installing libmozjs31-31.2.0-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.97325 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libmozjs31-31.2.0 + echo 'Source #0 (libmozjs31-31.2.0.tar):' Source #0 (libmozjs31-31.2.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/libmozjs31-31.2.0.tar + cd libmozjs31-31.2.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (FixForOfBailouts.patch):' Patch #0 (FixForOfBailouts.patch): + /usr/bin/patch -p1 patching file js/src/jit/MCallOptimize.cpp Hunk #1 succeeded at 1734 (offset -55 lines). + echo 'Patch #1 (FixTraceLoggerBuild.patch):' Patch #1 (FixTraceLoggerBuild.patch): + /usr/bin/patch -p1 patching file js/src/jit/BaselineCompiler.cpp Hunk #1 succeeded at 338 (offset 1 line). + echo 'Patch #2 (FixTraceLoggerFlushing.patch):' Patch #2 (FixTraceLoggerFlushing.patch): + /usr/bin/patch -p1 patching file js/src/vm/TraceLogging.cpp patching file js/src/vm/TraceLogging.h + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.38363 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libmozjs31-31.2.0 + cd js/src + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive' + export SHELL=/bin/sh + SHELL=/bin/sh + autoconf + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext --with-system-nspr --enable-threadsafe --enable-readline --enable-xterm-updates --enable-shared-js --enable-gcgenerational --enable-optimize --with-system-zlib --enable-system-ffi --with-system-icu --without-intl-api creating cache ./config.cache checking host system type... x86_64-alt-linux-gnu checking target system type... x86_64-alt-linux-gnu checking build system type... x86_64-alt-linux-gnu checking for gawk... gawk checking for perl5... /usr/bin/perl5 checking for gcc... gcc checking whether the C compiler (gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC ) works... yes checking whether the C compiler (gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive ) works... yes checking whether the C++ compiler (c++ -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for ranlib... ranlib checking for as... /usr/bin/as checking for ar... ar checking for ld... ld checking for strip... strip checking for windres... no checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... c++ -E checking for sb-conf... no checking for ve... no checking for a BSD compatible install... /bin/install -c checking whether ln -s works... yes checking for tar archiver... checking for gnutar... no checking for gtar... gtar gtar checking for minimum required perl version >= 5.006... 5.026002 checking for full perl installation... yes checking for python2.7... /usr/bin/python2.7 Creating Python environment New python executable in /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python2.7 Also creating executable in /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python Installing setuptools, pip...done. running build_ext copying build/lib.linux-x86_64-2.7/_psutil_linux.so -> copying build/lib.linux-x86_64-2.7/_psutil_posix.so -> checking Python environment is Mozilla virtualenv... yes checking for doxygen... : checking for autoconf... /usr/bin/autoconf checking for xargs... /bin/xargs checking for gmake... /usr/bin/gmake checking for X... no checking that static assertion macros used in autoconf tests work... yes checking for --noexecstack option to as... yes checking for -z noexecstack option to ld... yes checking for -z text option to ld... yes checking for --build-id option to ld... yes checking whether the C compiler supports -Werror=return-type... yes checking whether the C compiler supports -Werror=int-to-pointer-cast... yes checking whether the C compiler supports -Wempty-body... yes checking whether the C compiler supports -Wsign-compare... yes checking whether the C++ compiler supports -Werror=return-type... yes checking whether the C++ compiler supports -Werror=int-to-pointer-cast... yes checking whether the C++ compiler supports -Wtype-limits... yes checking whether the C++ compiler supports -Wempty-body... yes checking whether the C++ compiler supports -Werror=conversion-null... yes checking whether the C++ compiler supports -Wsign-compare... yes checking whether the C++ compiler supports -Wno-invalid-offsetof... yes checking whether ld has archive extraction flags... yes checking for 64-bit OS... yes checking for custom implementation... none specified checking whether the C++ compiler (c++ -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id) actually is a C++ compiler... yes checking for ANSI C header files... yes checking for working const... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking for st_blksize in struct stat... yes checking for siginfo_t... yes checking for endian.h... yes checking for machine/endian.h... no checking for sys/isa_defs.h... no checking for gcc c++0x headers bug without rtti... no checking for visibility(hidden) attribute... yes checking for visibility(default) attribute... yes checking for visibility pragma support... yes checking For gcc visibility bug with class-level attributes (GCC bug 26905)... no checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)... no checking for gcc PR49911... no checking for gcc pr39608... no checking for llvm pr8927... no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for sys/byteorder.h... no checking for compat.h... no checking for getopt.h... yes checking for sys/bitypes.h... yes checking for memory.h... yes checking for unistd.h... yes checking for gnu/libc-version.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for X11/XKBlib.h... no checking for io.h... no checking for cpuid.h... yes checking for sys/statvfs.h... yes checking for sys/statfs.h... yes checking for sys/vfs.h... yes checking for sys/mount.h... yes checking for sys/quota.h... yes checking for linux/quota.h... yes checking for sys/cdefs.h... yes checking for linux/perf_event.h... yes checking for perf_event_open system call... yes checking for gethostbyname_r in -lc_r... no checking for library containing dlopen... -ldl checking for dlfcn.h... yes checking for socket in -lsocket... no checking for pthread_create in -lpthreads... no checking for pthread_create in -lpthread... yes checking whether gcc accepts -pthread... yes checking whether gcc needs -traditional... no checking for 8-bit clean memcmp... yes checking for getc_unlocked... yes checking for _getc_nolock... no checking for localtime_r... yes checking for sin in -lm... yes checking for log2... yes checking for log1p... yes checking for expm1... yes checking for sqrt1pm1... no checking for acosh... yes checking for asinh... yes checking for atanh... yes checking for trunc... yes checking for cbrt... yes checking for wcrtomb... yes checking for mbrtowc... yes checking for res_ninit()... yes checking for nl_langinfo and CODESET... yes checking for an implementation of va_copy()... yes checking whether va_list can be copied by value... no checking whether the C++ "using" keyword resolves ambiguity... yes checking for C++ dynamic_cast to void*... yes checking whether C++ requires implementation of unused virtual methods... no checking for trouble comparing to zero near std::operator!=()... no checking for __thread keyword for TLS variables... yes checking for __attribute__((always_inline))... yes checking for __attribute__((malloc))... yes checking for __attribute__((warn_unused_result))... yes checking for LC_MESSAGES... yes checking for localeconv... yes checking for nspr-config... /usr/bin/nspr-config checking for NSPR - version >= 4.9.2... yes checking for gzread in -lz... yes checking for pkg-config... /usr/bin/pkg-config checking for libffi >= 3.0.9... yes checking MOZ_FFI_CFLAGS... checking MOZ_FFI_LIBS... -lffi checking for valid optimization flags... yes checking for __cxa_demangle... yes checking for -pipe support... yes checking whether C compiler supports -fprofile-generate... yes checking for correct overload resolution with const and templates... no checking for tm_zone tm_gmtoff in struct tm... yes checking what kind of list files are supported by the linker... linkerscript checking what kind of ordering can be done with the linker... section-ordering-file checking for readline in -lreadline... yes checking for posix_fadvise... yes checking for posix_fallocate... yes checking for icu-i18n >= 50.1... yes checking MOZ_ICU_CFLAGS... checking MOZ_ICU_LIBS... -licui18n -licuuc -licudata checking for setlocale... yes checking for localeconv... (cached) yes updating cache ./config.cache creating ./config.status Reticulating splines... Finished reading 10 moz.build files in 0.01s Processed into 55 build config descriptors in 0.01s Backend executed in 0.12s 45 total backend files; 45 created; 0 updated; 0 unchanged; 0 deleted; 10 -> 15 Makefile Total wall time: 0.15s; CPU time: 0.15s; Efficiency: 100%; Untracked: 0.00s + make -j1 make: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' make export make[1]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --no-remove dist/bin _build_manifests/install/dist_bin From dist/bin: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories. /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --no-remove dist/idl _build_manifests/install/dist_idl From dist/idl: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories. /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --no-remove dist/include _build_manifests/install/dist_include From dist/include: Kept 0 existing; Added/updated 99; Removed 0 files and 0 directories. /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --no-remove dist/public _build_manifests/install/dist_public From dist/public: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories. /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --no-remove dist/private _build_manifests/install/dist_private From dist/private: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories. /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --no-remove dist/sdk _build_manifests/install/dist_sdk From dist/sdk: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories. /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --no-remove _tests _build_manifests/install/tests From _tests: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories. make recurse_export make[2]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/config' mkdir -p '.deps/' host_nsinstall.o gcc -o host_nsinstall.o -c -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Werror=int-to-pointer-cast -Wempty-body -Wsign-compare -Wno-unused -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -std=gnu99 -fgnu89-inline -fno-math-errno -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -fomit-frame-pointer -DXP_UNIX -MD -MP -MF .deps/host_nsinstall.o.pp -O3 -DUNICODE -D_UNICODE -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/config -I. -I../dist/include -I/usr/include/nspr -I/usr/include/nspr /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/nsinstall.c host_pathsub.o gcc -o host_pathsub.o -c -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Werror=int-to-pointer-cast -Wempty-body -Wsign-compare -Wno-unused -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -std=gnu99 -fgnu89-inline -fno-math-errno -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -fomit-frame-pointer -DXP_UNIX -MD -MP -MF .deps/host_pathsub.o.pp -O3 -DUNICODE -D_UNICODE -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/config -I. -I../dist/include -I/usr/include/nspr -I/usr/include/nspr /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/pathsub.c nsinstall_real /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/nsinstall_real.pp --target nsinstall_real -- gcc -o nsinstall_real -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Werror=int-to-pointer-cast -Wempty-body -Wsign-compare -Wno-unused -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -std=gnu99 -fgnu89-inline -fno-math-errno -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -fomit-frame-pointer -DXP_UNIX -MD -MP -MF .deps/nsinstall_real.pp -O3 -DUNICODE -D_UNICODE -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../dist/bin -Wl,-rpath-link,/usr/lib host_nsinstall.o host_pathsub.o cp nsinstall_real nsinstall.tmp mv nsinstall.tmp nsinstall /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/nsinstall.py -t -m 755 'nsinstall' '../dist/bin' mkdir -p 'system_wrappers/' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python -m mozbuild.action.preprocessor -DMOZ_SHARED_ICU -DNO_NSPR_10_SUPPORT -DJS_STANDALONE='1' -DMOZILLA_VERSION='"31.2.0esr"' -DMOZILLA_VERSION_U='31.2.0esr' -DMOZILLA_UAVERSION='"31.0"' -DMOZJS_MAJOR_VERSION='31' -DMOZJS_MINOR_VERSION='2' -DX_DISPLAY_MISSING='1' -DHAVE_64BIT_OS='1' -DD_INO='d_ino' -DJS_CPU_X64='1' -DJS_PUNBOX64='1' -DJS_ION='1' -DENABLE_YARR_JIT='1' -DMOZ_DEBUG_SYMBOLS='1' -DSTDC_HEADERS='1' -DHAVE_SSIZE_T='1' -DHAVE_ST_BLKSIZE='1' -DHAVE_SIGINFO_T='1' -DHAVE_ENDIAN_H='1' -DJS_HAVE_ENDIAN_H='1' -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE='1' -DHAVE_VISIBILITY_ATTRIBUTE='1' -DHAVE_DIRENT_H='1' -DHAVE_GETOPT_H='1' -DHAVE_SYS_BITYPES_H='1' -DHAVE_MEMORY_H='1' -DHAVE_UNISTD_H='1' -DHAVE_GNU_LIBC_VERSION_H='1' -DHAVE_NL_TYPES_H='1' -DHAVE_MALLOC_H='1' -DHAVE_CPUID_H='1' -DHAVE_SYS_STATVFS_H='1' -DHAVE_SYS_STATFS_H='1' -DHAVE_SYS_VFS_H='1' -DHAVE_SYS_MOUNT_H='1' -DHAVE_SYS_QUOTA_H='1' -DHAVE_LINUX_QUOTA_H='1' -DHAVE_SYS_CDEFS_H='1' -DHAVE_DLOPEN='1' -D_REENTRANT='1' -DHAVE_GETC_UNLOCKED='1' -DHAVE_LOCALTIME_R='1' -DHAVE_LIBM='1' -DHAVE_LOG2='1' -DHAVE_LOG1P='1' -DHAVE_EXPM1='1' -DHAVE_ACOSH='1' -DHAVE_ASINH='1' -DHAVE_ATANH='1' -DHAVE_TRUNC='1' -DHAVE_CBRT='1' -DHAVE_WCRTOMB='1' -DHAVE_MBRTOWC='1' -DHAVE_RES_NINIT='1' -DHAVE_LANGINFO_CODESET='1' -DVA_COPY='va_copy' -DHAVE_VA_COPY='1' -DHAVE_VA_LIST_AS_ARRAY='1' -DHAVE_CPP_AMBIGUITY_RESOLVING_USING='1' -DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR='1' -DHAVE_THREAD_TLS_KEYWORD='1' -DHAVE_I18N_LC_MESSAGES='1' -DHAVE_LOCALECONV='1' -DNS_ATTR_MALLOC='__attribute__((malloc))' -DNS_WARN_UNUSED_RESULT='__attribute__((warn_unused_result))' -DMOZ_UPDATE_CHANNEL='default' -DRELEASE_BUILD='1' -DJS_THREADSAFE='1' -DJSGC_INCREMENTAL='1' -DJSGC_GENERATIONAL='1' -DJSGC_USE_EXACT_ROOTING='1' -DJS_CODEGEN_X64='1' -DHAVE___CXA_DEMANGLE='1' -DJS_DEFAULT_JITREPORT_GRANULARITY='3' -DHAVE_TM_ZONE_TM_GMTOFF='1' -DCPP_THROW_NEW='throw()' -DEDITLINE='1' -DMOZ_DLL_SUFFIX='".so"' -DHAVE_POSIX_FADVISE='1' -DHAVE_POSIX_FALLOCATE='1' -DXP_UNIX='1' -DHAVE_SETLOCALE='1' -DHAVE_LOCALECONV='1' \ -DMOZ_TREE_CAIRO= \ -DMOZ_TREE_PIXMAN= \ -DMOZ_NATIVE_HUNSPELL= \ -DMOZ_NATIVE_BZ2= \ -DMOZ_NATIVE_ZLIB=1 \ -DMOZ_NATIVE_PNG= \ -DMOZ_NATIVE_JPEG= \ -DMOZ_NATIVE_LIBEVENT= \ -DMOZ_NATIVE_LIBVPX= \ -DMOZ_NATIVE_ICU=1 \ /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/system-headers | /usr/bin/perl5 /usr/src/RPM/BUILD/libmozjs31-31.2.0/nsprpub/config/make-system-wrappers.pl system_wrappers ../dist/bin/nsinstall -R system_wrappers ../dist make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/config' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/python' make[3]: Nothing to be done for 'export'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/python' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/mfbt' make[3]: Nothing to be done for 'export'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/mfbt' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/mfbt/tests' make[3]: Nothing to be done for 'export'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/mfbt/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src' ../../dist/bin/nsinstall -R -m 644 'js-config.h' '../../dist/include' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/embedjs.py -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -DJS_STANDALONE='1' -DMOZILLA_VERSION='"31.2.0esr"' -DMOZILLA_VERSION_U='31.2.0esr' -DMOZILLA_UAVERSION='"31.0"' -DMOZJS_MAJOR_VERSION='31' -DMOZJS_MINOR_VERSION='2' -DX_DISPLAY_MISSING='1' -DHAVE_64BIT_OS='1' -DD_INO='d_ino' -DJS_CPU_X64='1' -DJS_PUNBOX64='1' -DJS_ION='1' -DENABLE_YARR_JIT='1' -DMOZ_DEBUG_SYMBOLS='1' -DSTDC_HEADERS='1' -DHAVE_SSIZE_T='1' -DHAVE_ST_BLKSIZE='1' -DHAVE_SIGINFO_T='1' -DHAVE_ENDIAN_H='1' -DJS_HAVE_ENDIAN_H='1' -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE='1' -DHAVE_VISIBILITY_ATTRIBUTE='1' -DHAVE_DIRENT_H='1' -DHAVE_GETOPT_H='1' -DHAVE_SYS_BITYPES_H='1' -DHAVE_MEMORY_H='1' -DHAVE_UNISTD_H='1' -DHAVE_GNU_LIBC_VERSION_H='1' -DHAVE_NL_TYPES_H='1' -DHAVE_MALLOC_H='1' -DHAVE_CPUID_H='1' -DHAVE_SYS_STATVFS_H='1' -DHAVE_SYS_STATFS_H='1' -DHAVE_SYS_VFS_H='1' -DHAVE_SYS_MOUNT_H='1' -DHAVE_SYS_QUOTA_H='1' -DHAVE_LINUX_QUOTA_H='1' -DHAVE_SYS_CDEFS_H='1' -DHAVE_DLOPEN='1' -D_REENTRANT='1' -DHAVE_GETC_UNLOCKED='1' -DHAVE_LOCALTIME_R='1' -DHAVE_LIBM='1' -DHAVE_LOG2='1' -DHAVE_LOG1P='1' -DHAVE_EXPM1='1' -DHAVE_ACOSH='1' -DHAVE_ASINH='1' -DHAVE_ATANH='1' -DHAVE_TRUNC='1' -DHAVE_CBRT='1' -DHAVE_WCRTOMB='1' -DHAVE_MBRTOWC='1' -DHAVE_RES_NINIT='1' -DHAVE_LANGINFO_CODESET='1' -DVA_COPY='va_copy' -DHAVE_VA_COPY='1' -DHAVE_VA_LIST_AS_ARRAY='1' -DHAVE_CPP_AMBIGUITY_RESOLVING_USING='1' -DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR='1' -DHAVE_THREAD_TLS_KEYWORD='1' -DHAVE_I18N_LC_MESSAGES='1' -DHAVE_LOCALECONV='1' -DNS_ATTR_MALLOC='__attribute__((malloc))' -DNS_WARN_UNUSED_RESULT='__attribute__((warn_unused_result))' -DMOZ_UPDATE_CHANNEL='default' -DRELEASE_BUILD='1' -DJS_THREADSAFE='1' -DJSGC_INCREMENTAL='1' -DJSGC_GENERATIONAL='1' -DJSGC_USE_EXACT_ROOTING='1' -DJS_CODEGEN_X64='1' -DHAVE___CXA_DEMANGLE='1' -DJS_DEFAULT_JITREPORT_GRANULARITY='3' -DHAVE_TM_ZONE_TM_GMTOFF='1' -DCPP_THROW_NEW='throw()' -DEDITLINE='1' -DMOZ_DLL_SUFFIX='".so"' -DHAVE_POSIX_FADVISE='1' -DHAVE_POSIX_FALLOCATE='1' -DXP_UNIX='1' -DHAVE_SETLOCALE='1' -DHAVE_LOCALECONV='1' -DNDEBUG -DTRIMMED \ -p 'gcc -E' -m /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js.msg -o selfhosted.out.h /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Utilities.js /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/ParallelUtilities.js /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Array.js /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Date.js /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.js /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/IntlData.js /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Iterator.js /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Map.js /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Number.js /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/String.js /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Set.js /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.js make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/shell' make[3]: Nothing to be done for 'export'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/jsapi-tests' make[3]: Nothing to be done for 'export'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/jsapi-tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/tests' make[3]: Nothing to be done for 'export'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/gdb' make[3]: Nothing to be done for 'export'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/gdb' make[2]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' make compile make[1]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' make recurse_compile make[2]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/config' make[3]: Nothing to be done for 'compile'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/config' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/mfbt' mkdir -p '.deps/' Compression.o c++ -o Compression.o -c -I../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt -I. -I../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/Compression.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -Wno-unused-function /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/Compression.cpp Decimal.o c++ -o Decimal.o -c -I../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt -I. -I../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/Decimal.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/decimal/Decimal.cpp FloatingPoint.o c++ -o FloatingPoint.o -c -I../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt -I. -I../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/FloatingPoint.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/FloatingPoint.cpp HashFunctions.o c++ -o HashFunctions.o -c -I../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt -I. -I../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/HashFunctions.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/HashFunctions.cpp Poison.o c++ -o Poison.o -c -I../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt -I. -I../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/Poison.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/Poison.cpp SHA1.o c++ -o SHA1.o -c -I../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt -I. -I../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/SHA1.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/SHA1.cpp bignum-dtoa.o c++ -o bignum-dtoa.o -c -I../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt -I. -I../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/bignum-dtoa.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/double-conversion/bignum-dtoa.cc bignum.o c++ -o bignum.o -c -I../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt -I. -I../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/bignum.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/double-conversion/bignum.cc cached-powers.o c++ -o cached-powers.o -c -I../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt -I. -I../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/cached-powers.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/double-conversion/cached-powers.cc diy-fp.o c++ -o diy-fp.o -c -I../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt -I. -I../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/diy-fp.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/double-conversion/diy-fp.cc double-conversion.o c++ -o double-conversion.o -c -I../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt -I. -I../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/double-conversion.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/double-conversion/double-conversion.cc fast-dtoa.o c++ -o fast-dtoa.o -c -I../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt -I. -I../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/fast-dtoa.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/double-conversion/fast-dtoa.cc fixed-dtoa.o c++ -o fixed-dtoa.o -c -I../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt -I. -I../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/fixed-dtoa.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/double-conversion/fixed-dtoa.cc strtod.o c++ -o strtod.o -c -I../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt -I. -I../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/strtod.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/double-conversion/strtod.cc make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/mfbt' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/mfbt/tests' mkdir -p '.deps/' TestAtomics.o c++ -o TestAtomics.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests -I. -I../../dist/include -I/usr/include/nspr -I../../dist/include/testing -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestAtomics.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestAtomics.cpp TestBinarySearch.o c++ -o TestBinarySearch.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests -I. -I../../dist/include -I/usr/include/nspr -I../../dist/include/testing -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestBinarySearch.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestBinarySearch.cpp /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestBinarySearch.cpp: In function 'int main()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestBinarySearch.cpp:29:10: warning: unused variable 'm' [-Wunused-variable] size_t m; ^ TestBloomFilter.o c++ -o TestBloomFilter.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests -I. -I../../dist/include -I/usr/include/nspr -I../../dist/include/testing -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestBloomFilter.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestBloomFilter.cpp TestCasting.o c++ -o TestCasting.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests -I. -I../../dist/include -I/usr/include/nspr -I../../dist/include/testing -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestCasting.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestCasting.cpp TestCeilingFloor.o c++ -o TestCeilingFloor.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests -I. -I../../dist/include -I/usr/include/nspr -I../../dist/include/testing -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestCeilingFloor.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestCeilingFloor.cpp TestCheckedInt.o c++ -o TestCheckedInt.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests -I. -I../../dist/include -I/usr/include/nspr -I../../dist/include/testing -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestCheckedInt.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestCheckedInt.cpp TestCountPopulation.o c++ -o TestCountPopulation.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests -I. -I../../dist/include -I/usr/include/nspr -I../../dist/include/testing -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestCountPopulation.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestCountPopulation.cpp TestCountZeroes.o c++ -o TestCountZeroes.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests -I. -I../../dist/include -I/usr/include/nspr -I../../dist/include/testing -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestCountZeroes.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestCountZeroes.cpp TestEndian.o c++ -o TestEndian.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests -I. -I../../dist/include -I/usr/include/nspr -I../../dist/include/testing -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestEndian.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestEndian.cpp TestEnumSet.o c++ -o TestEnumSet.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests -I. -I../../dist/include -I/usr/include/nspr -I../../dist/include/testing -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestEnumSet.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestEnumSet.cpp TestFloatingPoint.o c++ -o TestFloatingPoint.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests -I. -I../../dist/include -I/usr/include/nspr -I../../dist/include/testing -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestFloatingPoint.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestFloatingPoint.cpp TestIntegerPrintfMacros.o c++ -o TestIntegerPrintfMacros.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests -I. -I../../dist/include -I/usr/include/nspr -I../../dist/include/testing -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestIntegerPrintfMacros.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestIntegerPrintfMacros.cpp TestMacroArgs.o c++ -o TestMacroArgs.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests -I. -I../../dist/include -I/usr/include/nspr -I../../dist/include/testing -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestMacroArgs.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestMacroArgs.cpp TestMacroForEach.o c++ -o TestMacroForEach.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests -I. -I../../dist/include -I/usr/include/nspr -I../../dist/include/testing -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestMacroForEach.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestMacroForEach.cpp TestRollingMean.o c++ -o TestRollingMean.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests -I. -I../../dist/include -I/usr/include/nspr -I../../dist/include/testing -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestRollingMean.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestRollingMean.cpp TestSHA1.o c++ -o TestSHA1.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests -I. -I../../dist/include -I/usr/include/nspr -I../../dist/include/testing -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestSHA1.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestSHA1.cpp TestTypedEnum.o c++ -o TestTypedEnum.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests -I. -I../../dist/include -I/usr/include/nspr -I../../dist/include/testing -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestTypedEnum.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestTypedEnum.cpp TestTypeTraits.o c++ -o TestTypeTraits.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests -I. -I../../dist/include -I/usr/include/nspr -I../../dist/include/testing -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestTypeTraits.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestTypeTraits.cpp TestWeakPtr.o c++ -o TestWeakPtr.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests -I. -I../../dist/include -I/usr/include/nspr -I../../dist/include/testing -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestWeakPtr.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestWeakPtr.cpp TestPoisonArea.o c++ -o TestPoisonArea.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests -I. -I../../dist/include -I/usr/include/nspr -I../../dist/include/testing -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestPoisonArea.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/mfbt/tests/TestPoisonArea.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/mfbt/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/intl/icu' make export make[4]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/intl/icu' make[4]: Nothing to be done for 'export'. make[4]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/intl/icu' make compile make[4]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/intl/icu' make[4]: Nothing to be done for 'compile'. make[4]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/intl/icu' make libs make[4]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/intl/icu' mkdir -p '.deps/' make[4]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/intl/icu' make tools make[4]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/intl/icu' make[4]: Nothing to be done for 'tools'. make[4]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/intl/icu' if test -d ../../dist/bin ; then touch ../../dist/bin/.purgecaches ; fi make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/intl/icu' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src' mkdir -p '.deps/' host_jskwgen.o c++ -o host_jskwgen.o -c -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -std=gnu++0x -MD -MP -MF .deps/host_jskwgen.o.pp -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -I/usr/include/nspr /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jskwgen.cpp host_jskwgen /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/host_jskwgen.pp --target host_jskwgen -- c++ -o host_jskwgen -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -std=gnu++0x -MD -MP -MF .deps/host_jskwgen.pp -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr host_jskwgen.o ./host_jskwgen /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/jsautokw.h RegExp.o c++ -o RegExp.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/RegExp.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Parser.o c++ -o Parser.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Parser.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FullParseHandler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FullParseHandler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FullParseHandler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FullParseHandler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FullParseHandler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FullParseHandler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FullParseHandler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FullParseHandler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FullParseHandler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FullParseHandler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FullParseHandler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FullParseHandler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FullParseHandler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FullParseHandler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FullParseHandler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FullParseHandler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FullParseHandler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:20: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = js::frontend::DefinitionList; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:57:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:77:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:258:24: required from 'bool js::InlineMap::add(js::InlineMap::AddPtr&, const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.h:457:28: required from 'bool js::frontend::AtomDecls::addUnique(JSAtom*, js::frontend::AtomDecls::DefinitionNode) [with ParseHandler = js::frontend::FullParseHandler; js::frontend::AtomDecls::DefinitionNode = js::frontend::Definition*]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:162:39: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = js::frontend::DefinitionSingle; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:57:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = js::frontend::DefinitionSingle; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:77:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionSingle; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:258:24: required from 'bool js::InlineMap::add(js::InlineMap::AddPtr&, const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionSingle; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:1300:9: required from 'typename ParseHandler::DefinitionNode js::frontend::Parser::getOrCreateLexicalDependency(js::frontend::ParseContext*, JSAtom*) [with ParseHandler = js::frontend::FullParseHandler; typename ParseHandler::DefinitionNode = js::frontend::Definition*]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:1392:70: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:57:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:77:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:258:24: required from 'bool js::InlineMap::add(js::InlineMap::AddPtr&, const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:7272:23: required from 'typename ParseHandler::Node js::frontend::Parser::objectLiteral() [with ParseHandler = js::frontend::FullParseHandler; typename ParseHandler::Node = js::frontend::ParseNode*]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.cpp:7495:16: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsarray.o c++ -o jsarray.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsarray.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:36: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:36: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:36: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:36: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:36: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsatom.o c++ -o jsatom.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsatom.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatominlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsmath.o c++ -o jsmath.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsmath.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:33: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:26: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:33: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:33: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:33: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:33: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:33: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:25: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp: In function 'uint64_t random_generateSeed()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.cpp:699:13: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] read(fd, seed.u8, mozilla::ArrayLength(seed.u8)); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsutil.o c++ -o jsutil.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsutil.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsutil.cpp ExecutableAllocatorPosix.o c++ -o ExecutableAllocatorPosix.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/ExecutableAllocatorPosix.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocatorPosix.cpp OSAllocatorPosix.o c++ -o OSAllocatorPosix.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/OSAllocatorPosix.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocator.h:34, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/OSAllocatorPosix.cpp:34: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ MacroAssemblerX86Common.o c++ -o MacroAssemblerX86Common.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/MacroAssemblerX86Common.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86Common.cpp YarrJIT.o c++ -o YarrJIT.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/YarrJIT.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/MatchResult.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/MatchResult.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/MatchResult.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/MatchResult.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/MatchResult.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/MatchResult.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/MatchResult.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/MatchResult.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/MatchResult.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/MatchResult.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerCodeRef.h:35, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:35, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/MatchResult.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerCodeRef.h:35, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:35, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/MatchResult.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerCodeRef.h:35, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:35, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/MatchResult.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerCodeRef.h:35, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:35, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/MatchResult.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerCodeRef.h:35, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:35, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/MatchResult.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerCodeRef.h:35, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:35, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/MatchResult.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerCodeRef.h:35, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.h:35, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrJIT.cpp:28: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ pm_linux.o c++ -o pm_linux.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/pm_linux.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/pm_linux.cpp ExecutableAllocator.o c++ -o ExecutableAllocator.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/ExecutableAllocator.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.cpp In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.cpp:28: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.cpp:30: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ Eval.o c++ -o Eval.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Eval.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:11: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Eval.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Intl.o c++ -o Intl.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Intl.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:12: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:17: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:12: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:12: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:12: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:12: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:12: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:12: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:12: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:12: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:12: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:12: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:12: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Intl.cpp:16: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ MapObject.o c++ -o MapObject.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/MapObject.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/MapObject.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Object.o c++ -o Object.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Object.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:11: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Object.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Profilers.o c++ -o Profilers.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Profilers.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:33: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:33: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/Profilers.cpp:31: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ SIMD.o c++ -o SIMD.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/SIMD.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:22: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:22: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:22: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:22: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:22: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:22: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/SIMD.cpp:14: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ TestingFunctions.o c++ -o TestingFunctions.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TestingFunctions.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:10: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TestingFunctions.cpp:9: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ TypedObject.o c++ -o TypedObject.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TypedObject.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp: In static member function 'static bool js::ArrayMetaTypeDescr::construct(JSContext*, unsigned int, JS::Value*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:713:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:718:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:731:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp: In static member function 'static bool js::UnsizedArrayTypeDescr::dimension(JSContext*, unsigned int, jsval*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:765:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:778:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:796:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:804:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp: In static member function 'static bool js::GlobalObject::initTypedObjectModule(JSContext*, JS::Handle)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1361:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:256:5: note: in expansion of macro 'BINARYDATA_SCALAR_DEFINE' macro_(ScalarTypeDescr::TYPE_INT8, int8_t, int8) \ ^~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:267:5: note: in expansion of macro 'JS_FOR_EACH_UNIQUE_SCALAR_TYPE_REPR_CTYPE' JS_FOR_EACH_UNIQUE_SCALAR_TYPE_REPR_CTYPE(macro_) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1362:5: note: in expansion of macro 'JS_FOR_EACH_SCALAR_TYPE_REPR' JS_FOR_EACH_SCALAR_TYPE_REPR(BINARYDATA_SCALAR_DEFINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1361:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:257:5: note: in expansion of macro 'BINARYDATA_SCALAR_DEFINE' macro_(ScalarTypeDescr::TYPE_UINT8, uint8_t, uint8) \ ^~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:267:5: note: in expansion of macro 'JS_FOR_EACH_UNIQUE_SCALAR_TYPE_REPR_CTYPE' JS_FOR_EACH_UNIQUE_SCALAR_TYPE_REPR_CTYPE(macro_) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1362:5: note: in expansion of macro 'JS_FOR_EACH_SCALAR_TYPE_REPR' JS_FOR_EACH_SCALAR_TYPE_REPR(BINARYDATA_SCALAR_DEFINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1361:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:258:5: note: in expansion of macro 'BINARYDATA_SCALAR_DEFINE' macro_(ScalarTypeDescr::TYPE_INT16, int16_t, int16) \ ^~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:267:5: note: in expansion of macro 'JS_FOR_EACH_UNIQUE_SCALAR_TYPE_REPR_CTYPE' JS_FOR_EACH_UNIQUE_SCALAR_TYPE_REPR_CTYPE(macro_) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1362:5: note: in expansion of macro 'JS_FOR_EACH_SCALAR_TYPE_REPR' JS_FOR_EACH_SCALAR_TYPE_REPR(BINARYDATA_SCALAR_DEFINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1361:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:259:5: note: in expansion of macro 'BINARYDATA_SCALAR_DEFINE' macro_(ScalarTypeDescr::TYPE_UINT16, uint16_t, uint16) \ ^~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:267:5: note: in expansion of macro 'JS_FOR_EACH_UNIQUE_SCALAR_TYPE_REPR_CTYPE' JS_FOR_EACH_UNIQUE_SCALAR_TYPE_REPR_CTYPE(macro_) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1362:5: note: in expansion of macro 'JS_FOR_EACH_SCALAR_TYPE_REPR' JS_FOR_EACH_SCALAR_TYPE_REPR(BINARYDATA_SCALAR_DEFINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1361:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:260:5: note: in expansion of macro 'BINARYDATA_SCALAR_DEFINE' macro_(ScalarTypeDescr::TYPE_INT32, int32_t, int32) \ ^~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:267:5: note: in expansion of macro 'JS_FOR_EACH_UNIQUE_SCALAR_TYPE_REPR_CTYPE' JS_FOR_EACH_UNIQUE_SCALAR_TYPE_REPR_CTYPE(macro_) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1362:5: note: in expansion of macro 'JS_FOR_EACH_SCALAR_TYPE_REPR' JS_FOR_EACH_SCALAR_TYPE_REPR(BINARYDATA_SCALAR_DEFINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1361:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:261:5: note: in expansion of macro 'BINARYDATA_SCALAR_DEFINE' macro_(ScalarTypeDescr::TYPE_UINT32, uint32_t, uint32) \ ^~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:267:5: note: in expansion of macro 'JS_FOR_EACH_UNIQUE_SCALAR_TYPE_REPR_CTYPE' JS_FOR_EACH_UNIQUE_SCALAR_TYPE_REPR_CTYPE(macro_) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1362:5: note: in expansion of macro 'JS_FOR_EACH_SCALAR_TYPE_REPR' JS_FOR_EACH_SCALAR_TYPE_REPR(BINARYDATA_SCALAR_DEFINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1361:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:262:5: note: in expansion of macro 'BINARYDATA_SCALAR_DEFINE' macro_(ScalarTypeDescr::TYPE_FLOAT32, float, float32) \ ^~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:267:5: note: in expansion of macro 'JS_FOR_EACH_UNIQUE_SCALAR_TYPE_REPR_CTYPE' JS_FOR_EACH_UNIQUE_SCALAR_TYPE_REPR_CTYPE(macro_) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1362:5: note: in expansion of macro 'JS_FOR_EACH_SCALAR_TYPE_REPR' JS_FOR_EACH_SCALAR_TYPE_REPR(BINARYDATA_SCALAR_DEFINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1361:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:263:5: note: in expansion of macro 'BINARYDATA_SCALAR_DEFINE' macro_(ScalarTypeDescr::TYPE_FLOAT64, double, float64) ^~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:267:5: note: in expansion of macro 'JS_FOR_EACH_UNIQUE_SCALAR_TYPE_REPR_CTYPE' JS_FOR_EACH_UNIQUE_SCALAR_TYPE_REPR_CTYPE(macro_) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1362:5: note: in expansion of macro 'JS_FOR_EACH_SCALAR_TYPE_REPR' JS_FOR_EACH_SCALAR_TYPE_REPR(BINARYDATA_SCALAR_DEFINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1361:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:268:5: note: in expansion of macro 'BINARYDATA_SCALAR_DEFINE' macro_(ScalarTypeDescr::TYPE_UINT8_CLAMPED, uint8_t, uint8Clamped) ^~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1362:5: note: in expansion of macro 'JS_FOR_EACH_SCALAR_TYPE_REPR' JS_FOR_EACH_SCALAR_TYPE_REPR(BINARYDATA_SCALAR_DEFINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1368:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:304:5: note: in expansion of macro 'BINARYDATA_REFERENCE_DEFINE' macro_(ReferenceTypeDescr::TYPE_ANY, HeapValue, Any) \ ^~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1369:5: note: in expansion of macro 'JS_FOR_EACH_REFERENCE_TYPE_REPR' JS_FOR_EACH_REFERENCE_TYPE_REPR(BINARYDATA_REFERENCE_DEFINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1368:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:305:5: note: in expansion of macro 'BINARYDATA_REFERENCE_DEFINE' macro_(ReferenceTypeDescr::TYPE_OBJECT, HeapPtrObject, Object) \ ^~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1369:5: note: in expansion of macro 'JS_FOR_EACH_REFERENCE_TYPE_REPR' JS_FOR_EACH_REFERENCE_TYPE_REPR(BINARYDATA_REFERENCE_DEFINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1368:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:306:5: note: in expansion of macro 'BINARYDATA_REFERENCE_DEFINE' macro_(ReferenceTypeDescr::TYPE_STRING, HeapPtrString, string) ^~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1369:5: note: in expansion of macro 'JS_FOR_EACH_REFERENCE_TYPE_REPR' JS_FOR_EACH_REFERENCE_TYPE_REPR(BINARYDATA_REFERENCE_DEFINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1378:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1385:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1393:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1400:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1410:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp: In static member function 'static bool js::TypedObject::constructUnsized(JSContext*, unsigned int, JS::Value*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:2469:20: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp: In instantiation of 'bool DefineSimpleTypeDescr(JSContext*, JS::Handle, JS::HandleObject, typename T::Type, js::HandlePropertyName) [with T = js::ScalarTypeDescr; JS::HandleObject = JS::Handle; typename T::Type = js::ScalarTypeDescr::Type; js::HandlePropertyName = JS::Handle]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1362:5: required from here /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1256:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp: In instantiation of 'bool DefineSimpleTypeDescr(JSContext*, JS::Handle, JS::HandleObject, typename T::Type, js::HandlePropertyName) [with T = js::ReferenceTypeDescr; JS::HandleObject = JS::Handle; typename T::Type = js::ReferenceTypeDescr::Type; js::HandlePropertyName = JS::Handle]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1369:5: required from here /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:1256:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ sharkctl.o c++ -o sharkctl.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/sharkctl.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/devtools/sharkctl.cpp LifoAlloc.o c++ -o LifoAlloc.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/LifoAlloc.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/LifoAlloc.cpp BytecodeCompiler.o c++ -o BytecodeCompiler.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/BytecodeCompiler.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp: In function 'bool CompileFunctionBody(JSContext*, JS::MutableHandleFunction, const JS::ReadOnlyCompileOptions&, const js::AutoNameVector&, JS::SourceBufferHolder&, js::GeneratorKind)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:547:16: warning: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] return nullptr; ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:9: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeCompiler.cpp:9: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:57:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:77:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:258:24: required from 'bool js::InlineMap::add(js::InlineMap::AddPtr&, const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:191:45: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ BytecodeEmitter.o c++ -o BytecodeEmitter.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/BytecodeEmitter.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:35: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:35: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:35: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:35: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:35: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:35: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:57:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:77:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:258:24: required from 'bool js::InlineMap::add(js::InlineMap::AddPtr&, const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:191:45: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp: In function 'bool EmitAliasedVarOp(js::ExclusiveContext*, JSOp, js::frontend::ParseNode*, js::frontend::BytecodeEmitter*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.cpp:1185:21: warning: '*((void*)& sc +4)' may be used uninitialized in this function [-Wmaybe-uninitialized] ScopeCoordinate sc; ^~ FoldConstants.o c++ -o FoldConstants.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/FoldConstants.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/SyntaxParseHandler.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FoldConstants.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ NameFunctions.o c++ -o NameFunctions.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/NameFunctions.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/NameFunctions.cpp:9: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ParseMaps.o c++ -o ParseMaps.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/ParseMaps.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = js::frontend::DefinitionList; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:57:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:77:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:258:24: required from 'bool js::InlineMap::add(js::InlineMap::AddPtr&, const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.h:457:28: required from 'bool js::frontend::AtomDecls::addUnique(JSAtom*, js::frontend::AtomDecls::DefinitionNode) [with ParseHandler = js::frontend::FullParseHandler; js::frontend::AtomDecls::DefinitionNode = js::frontend::Definition*]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseMaps.cpp:135:30: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ParseNode.o c++ -o ParseNode.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/ParseNode.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ TokenStream.o c++ -o TokenStream.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TokenStream.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.cpp:9: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Barrier.o c++ -o Barrier.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Barrier.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Iteration.o c++ -o Iteration.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Iteration.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Iteration.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Marking.o c++ -o Marking.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Marking.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Memory.o c++ -o Memory.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Memory.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/HeapAPI.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:10: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/HeapAPI.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/HeapAPI.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/HeapAPI.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/HeapAPI.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/HeapAPI.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Memory.cpp:10: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Nursery.o c++ -o Nursery.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Nursery.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery-inl.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:10: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:12: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery-inl.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:10: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery-inl.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:10: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery-inl.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:10: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery-inl.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:10: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery-inl.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:10: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery-inl.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:10: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodCopy(T*, const T*, size_t) [with T = js::HeapSlot; size_t = long unsigned int]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:228:41: required from here ../../dist/include/mozilla/PodOperations.h:110:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(dst, src, nelem * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery-inl.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:10: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::Nursery::TenureCountCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:458:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::Nursery::TenureCountCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:454:17: note: 'struct js::Nursery::TenureCountCache' declared here struct Nursery::TenureCountCache ^~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery-inl.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:10: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HeapSlot* const; HashPolicy = js::HashSet, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:414:57: required from 'void js::HashSet::clear() [with T = js::HeapSlot*; HashPolicy = js::PointerHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.cpp:897:21: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ RootMarking.o c++ -o RootMarking.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/RootMarking.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:31: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:31: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:31: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/RootMarking.cpp:13: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Statistics.o c++ -o Statistics.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Statistics.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:21: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Statistics.cpp:21: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ StoreBuffer.o c++ -o StoreBuffer.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/StoreBuffer.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/LifoAlloc.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:9: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/LifoAlloc.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/LifoAlloc.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/LifoAlloc.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/LifoAlloc.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/LifoAlloc.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:9: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::gc::StoreBuffer::ValueEdge; HashPolicy = js::HashSet, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:414:57: required from 'void js::HashSet::clear() [with T = js::gc::StoreBuffer::ValueEdge; HashPolicy = js::gc::StoreBuffer::PointerEdgeHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:139:5: required from 'void js::gc::StoreBuffer::MonoTypeBuffer::compactRemoveDuplicates(js::gc::StoreBuffer*) [with T = js::gc::StoreBuffer::ValueEdge]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:373:29: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::gc::StoreBuffer::CellPtrEdge; HashPolicy = js::HashSet, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:414:57: required from 'void js::HashSet::clear() [with T = js::gc::StoreBuffer::CellPtrEdge; HashPolicy = js::gc::StoreBuffer::PointerEdgeHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:139:5: required from 'void js::gc::StoreBuffer::MonoTypeBuffer::compactRemoveDuplicates(js::gc::StoreBuffer*) [with T = js::gc::StoreBuffer::CellPtrEdge]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:374:29: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::gc::StoreBuffer::SlotsEdge; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:414:57: required from 'void js::HashSet::clear() [with T = js::gc::StoreBuffer::SlotsEdge; HashPolicy = js::gc::StoreBuffer::SlotsEdge::Hasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:139:5: required from 'void js::gc::StoreBuffer::MonoTypeBuffer::compactRemoveDuplicates(js::gc::StoreBuffer*) [with T = js::gc::StoreBuffer::SlotsEdge]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:375:29: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::gc::StoreBuffer::WholeCellEdges; HashPolicy = js::HashSet, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:414:57: required from 'void js::HashSet::clear() [with T = js::gc::StoreBuffer::WholeCellEdges; HashPolicy = js::gc::StoreBuffer::PointerEdgeHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:139:5: required from 'void js::gc::StoreBuffer::MonoTypeBuffer::compactRemoveDuplicates(js::gc::StoreBuffer*) [with T = js::gc::StoreBuffer::WholeCellEdges]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:376:29: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = void* const; HashPolicy = js::HashSet, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:414:57: required from 'void js::HashSet::clear() [with T = void*; HashPolicy = js::PointerHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:209:22: required from 'void js::gc::StoreBuffer::RelocatableMonoTypeBuffer::compactMoved(js::gc::StoreBuffer*) [with T = js::gc::StoreBuffer::ValueEdge]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.cpp:377:29: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Tracer.o c++ -o Tracer.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Tracer.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/HeapAPI.h:12, from ../../dist/include/js/GCAPI.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:12: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/HeapAPI.h:12, from ../../dist/include/js/GCAPI.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/HeapAPI.h:12, from ../../dist/include/js/GCAPI.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/HeapAPI.h:12, from ../../dist/include/js/GCAPI.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/HeapAPI.h:12, from ../../dist/include/js/GCAPI.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/GCInternals.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/HeapAPI.h:12, from ../../dist/include/js/GCAPI.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/GCInternals.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Tracer.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Verifier.o c++ -o Verifier.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Verifier.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Verifier.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Zone.o c++ -o Zone.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Zone.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ AliasAnalysis.o c++ -o AliasAnalysis.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/AliasAnalysis.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp: In function 'void IonSpewDependency(js::jit::MDefinition*, js::jit::MDefinition*, const char*, const char*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:131:33: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, "Load "); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:133:47: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, " %s on store ", verb); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:135:43: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, " (%s)\n", reason); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp: In function 'void IonSpewAliasInfo(const char*, js::jit::MDefinition*, const char*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:144:36: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, "%s ", pre); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:146:39: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, " %s\n", post); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp: In member function 'bool js::jit::AliasAnalysis::analyze()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:206:61: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, "Processing store "); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:208:70: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, " (flags %x)\n", set.flags()); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ AsmJS.o c++ -o AsmJS.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/AsmJS.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:35: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp: In function 'bool CheckFunction({anonymous}::ModuleCompiler&, js::LifoAlloc&, js::jit::MIRGenerator**, {anonymous}::ModuleCompiler::Func**)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:314:33: warning: 'name' may be used uninitialized in this function [-Wmaybe-uninitialized] return pn->isKind(PNK_NAME) && pn->name() == name; ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJS.cpp:3240:23: note: 'name' was declared here PropertyName *name; ^~~~ AsmJSLink.o c++ -o AsmJSLink.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/AsmJSLink.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:16: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:22: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:22: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:22: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::AsmJSFrameIterator]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:42:21: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::AsmJSFrameIterator'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.h:21:7: note: 'class js::AsmJSFrameIterator' declared here class AsmJSFrameIterator ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSLink.cpp:16: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ AsmJSModule.o c++ -o AsmJSModule.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/AsmJSModule.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ AsmJSSignalHandlers.o c++ -o AsmJSSignalHandlers.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/AsmJSSignalHandlers.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/AssemblerBuffer.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/X86Assembler.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86Common.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86_64.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssembler.h:54, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:12: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/AssemblerBuffer.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/X86Assembler.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86Common.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86_64.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssembler.h:54, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/AssemblerBuffer.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/X86Assembler.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86Common.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86_64.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssembler.h:54, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/AssemblerBuffer.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/X86Assembler.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86Common.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86_64.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssembler.h:54, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/AssemblerBuffer.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/X86Assembler.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86Common.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86_64.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssembler.h:54, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/AssemblerBuffer.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/X86Assembler.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86Common.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86_64.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssembler.h:54, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/AssemblerBuffer.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/X86Assembler.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86Common.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86_64.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssembler.h:54, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/AssemblerBuffer.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/X86Assembler.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86Common.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86_64.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssembler.h:54, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from ../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/AssemblerBuffer.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/X86Assembler.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86Common.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86_64.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssembler.h:54, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/AssemblerBuffer.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/X86Assembler.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86Common.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86_64.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssembler.h:54, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSSignalHandlers.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ BacktrackingAllocator.o c++ -o BacktrackingAllocator.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/BacktrackingAllocator.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/LifoAlloc.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/SplayTree.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/LifoAlloc.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/SplayTree.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/LifoAlloc.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/SplayTree.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/LifoAlloc.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/SplayTree.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/LifoAlloc.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/SplayTree.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/LifoAlloc.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/SplayTree.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/LifoAlloc.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/SplayTree.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/LifoAlloc.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/SplayTree.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/LifoAlloc.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/SplayTree.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Bailouts.o c++ -o Bailouts.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Bailouts.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitFrameIterator-inl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ BaselineBailouts.o c++ -o BaselineBailouts.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/BaselineBailouts.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitFrameIterator-inl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:22: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineBailouts.cpp:9: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ BaselineCompiler.o c++ -o BaselineCompiler.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/BaselineCompiler.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:24: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineRegisters-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineRegisters.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineRegisters-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineRegisters.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineRegisters-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineRegisters.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:24: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:24: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ BaselineDebugModeOSR.o c++ -o BaselineDebugModeOSR.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/BaselineDebugModeOSR.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ BaselineFrame.o c++ -o BaselineFrame.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/BaselineFrame.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ BaselineFrameInfo.o c++ -o BaselineFrameInfo.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/BaselineFrameInfo.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineRegisters-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineRegisters.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineRegisters-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineRegisters.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineRegisters-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineRegisters.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ BaselineIC.o c++ -o BaselineIC.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/BaselineIC.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:32: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:32: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:32: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ BaselineInspector.o c++ -o BaselineInspector.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/BaselineInspector.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ BaselineJIT.o c++ -o BaselineJIT.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/BaselineJIT.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineCompiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ BitSet.o c++ -o BitSet.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/BitSet.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BitSet.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ BytecodeAnalysis.o c++ -o BytecodeAnalysis.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/BytecodeAnalysis.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ C1Spewer.o c++ -o C1Spewer.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/C1Spewer.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/C1Spewer.cpp CodeGenerator.o c++ -o CodeGenerator.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/CodeGenerator.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/AssemblerBuffer.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/X86Assembler.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86Common.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86_64.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssembler.h:54, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Architecture-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CodeGenerator.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ CompileWrappers.o c++ -o CompileWrappers.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/CompileWrappers.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileWrappers.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ EdgeCaseAnalysis.o c++ -o EdgeCaseAnalysis.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/EdgeCaseAnalysis.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGenerator.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EdgeCaseAnalysis.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ EffectiveAddressAnalysis.o c++ -o EffectiveAddressAnalysis.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/EffectiveAddressAnalysis.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/EffectiveAddressAnalysis.cpp:8: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Ion.o c++ -o Ion.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Ion.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineDebugModeOSR.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:49: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AliasAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:48: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:48: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ IonAnalysis.o c++ -o IonAnalysis.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/IonAnalysis.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ IonBuilder.o c++ -o IonBuilder.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/IonBuilder.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from ../../dist/include/js/CallArgs.h:39, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: ../../dist/include/js/Value.h: In member function 'bool js::jit::IonBuilder::getPropTryTypedObject(bool*, js::PropertyName*, js::types::TemporaryTypeSet*)': ../../dist/include/js/Value.h:664:43: warning: 'fieldOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] JS_RETURN_LAYOUT_FROM_BITS(((uint64_t)(uint32_t)i32) | JSVAL_SHIFTED_TAG_INT32); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:8699:13: note: 'fieldOffset' was declared here int32_t fieldOffset; ^~~~~~~~~~~ In file included from ../../dist/include/js/CallArgs.h:39, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BytecodeAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:7: ../../dist/include/js/Value.h: In member function 'bool js::jit::IonBuilder::setPropTryTypedObject(bool*, js::jit::MDefinition*, js::PropertyName*, js::jit::MDefinition*)': ../../dist/include/js/Value.h:664:43: warning: 'fieldOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] JS_RETURN_LAYOUT_FROM_BITS(((uint64_t)(uint32_t)i32) | JSVAL_SHIFTED_TAG_INT32); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.cpp:9229:13: note: 'fieldOffset' was declared here int32_t fieldOffset; ^~~~~~~~~~~ IonCaches.o c++ -o IonCaches.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/IonCaches.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitFrameIterator-inl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/AssemblerBuffer.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/X86Assembler.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86Common.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86_64.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssembler.h:54, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Architecture-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::Shape* const; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::TempAllocPolicy]': ../../dist/include/js/HashTable.h:414:57: required from 'void js::HashSet::clear() [with T = js::Shape*; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCaches.cpp:1804:31: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable::SetOps, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ IonFrames.o c++ -o IonFrames.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/IonFrames.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitFrameIterator-inl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ IonMacroAssembler.o c++ -o IonMacroAssembler.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/IonMacroAssembler.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ IonOptimizationLevels.o c++ -o IonOptimizationLevels.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/IonOptimizationLevels.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:9: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonOptimizationLevels.cpp:9: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ IonSpewer.o c++ -o IonSpewer.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/IonSpewer.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonSpewer.cpp JSONSpewer.o c++ -o JSONSpewer.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/JSONSpewer.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JSONSpewer.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ JitOptions.o c++ -o JitOptions.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/JitOptions.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.cpp:9: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitOptions.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ LICM.o c++ -o LICM.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/LICM.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp: In member function 'bool {anonymous}::Loop::optimize()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:223:40: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, " <- "); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:225:39: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, ": "); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:235:58: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, " Loop Invariant!\n"); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp: In member function 'bool {anonymous}::Loop::isLoopInvariant(js::jit::MInstruction*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:323:51: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, "not hoistable\n"); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:333:75: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, "depends on store inside or after loop: "); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:335:38: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, "\n"); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:348:58: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, " is in the loop.\n"); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonSpewer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:12: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonSpewer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonSpewer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonSpewer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonSpewer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonSpewer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonSpewer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonSpewer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonSpewer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LICM.cpp:12: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ LIR.o c++ -o LIR.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/LIR.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ LinearScan.o c++ -o LinearScan.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/LinearScan.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ LiveRangeAllocator.o c++ -o LiveRangeAllocator.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/LiveRangeAllocator.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h: In instantiation of 'bool js::jit::VirtualRegisterMap::init(js::jit::MIRGenerator*, uint32_t) [with VREG = js::jit::LinearScanVirtualRegister; uint32_t = unsigned int]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:427:9: required from 'bool js::jit::LiveRangeAllocator::init() [with VREG = js::jit::LinearScanVirtualRegister; bool forLSRA = true]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:503:10: required from 'bool js::jit::LiveRangeAllocator::buildLivenessInfo() [with VREG = js::jit::LinearScanVirtualRegister; bool forLSRA = true]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:362:86: required from here /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:506:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::jit::LinearScanVirtualRegister' with no trivial copy-assignment [-Wclass-memaccess] memset(vregs_, 0, sizeof(VREG) * numVregs); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LinearScan.h:16:7: note: 'class js::jit::LinearScanVirtualRegister' declared here class LinearScanVirtualRegister : public VirtualRegister ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h: In instantiation of 'bool js::jit::VirtualRegisterMap::init(js::jit::MIRGenerator*, uint32_t) [with VREG = js::jit::BacktrackingVirtualRegister; uint32_t = unsigned int]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:427:9: required from 'bool js::jit::LiveRangeAllocator::init() [with VREG = js::jit::BacktrackingVirtualRegister; bool forLSRA = false]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:503:10: required from 'bool js::jit::LiveRangeAllocator::buildLivenessInfo() [with VREG = js::jit::BacktrackingVirtualRegister; bool forLSRA = false]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:363:89: required from here /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.h:506:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::jit::BacktrackingVirtualRegister' with no trivial copy-assignment [-Wclass-memaccess] memset(vregs_, 0, sizeof(VREG) * numVregs); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LiveRangeAllocator.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BacktrackingAllocator.h:51:7: note: 'class js::jit::BacktrackingVirtualRegister' declared here class BacktrackingVirtualRegister : public VirtualRegister ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Lowering.o c++ -o Lowering.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Lowering.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp: In function 'void SpewResumePoint(js::jit::MBasicBlock*, js::jit::MInstruction*, js::jit::MResumePoint*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:3575:83: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, "Current resume point %p details:\n", (void *)resumePoint); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:3576:76: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, " frame count: %u\n", resumePoint->frameCount()); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:3579:49: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, " taken after: "); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:3582:72: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, " taken at block %d entry", block->id()); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:3584:30: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, "\n"); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:3589:86: warning: null argument where non-null required (argument 1) [-Wnonnull] int(resumePoint->block()->info().script()->pcToOffset(resumePoint->pc()))); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:3593:57: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, " slot%u: ", (unsigned)i); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:3595:34: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, "\n"); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ MCallOptimize.o c++ -o MCallOptimize.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/MCallOptimize.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:10: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineInspector.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MCallOptimize.cpp:10: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ MIR.o c++ -o MIR.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/MIR.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:24: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ MIRGraph.o c++ -o MIRGraph.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/MIRGraph.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ MoveResolver.o c++ -o MoveResolver.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/MoveResolver.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MoveResolver.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ParallelFunctions.o c++ -o ParallelFunctions.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/ParallelFunctions.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Heap.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Heap.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Heap.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Heap.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Heap.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Heap.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Heap.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Heap.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Heap.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Heap.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Heap.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Heap.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelFunctions.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ParallelSafetyAnalysis.o c++ -o ParallelSafetyAnalysis.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/ParallelSafetyAnalysis.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ParallelSafetyAnalysis.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ PerfSpewer.o c++ -o PerfSpewer.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/PerfSpewer.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/PerfSpewer.cpp RangeAnalysis.o c++ -o RangeAnalysis.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/RangeAnalysis.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp: In member function 'bool js::jit::RangeAnalysis::addBetaNodes()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:251:82: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, "Adding beta node for %d with range ", val->id()); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAnalysis.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RangeAnalysis.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Recover.o c++ -o Recover.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Recover.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:10: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/AssemblerBuffer.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/X86Assembler.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86Common.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86_64.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssembler.h:54, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Architecture-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Recover.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ RegisterAllocator.o c++ -o RegisterAllocator.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/RegisterAllocator.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ RematerializedFrame.o c++ -o RematerializedFrame.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/RematerializedFrame.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitFrameIterator-inl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RematerializedFrame.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Safepoints.o c++ -o Safepoints.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Safepoints.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Safepoints.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Snapshots.o c++ -o Snapshots.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Snapshots.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp: In member function 'bool js::jit::SnapshotWriter::add(const js::jit::RValueAllocation&)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:642:73: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, " slot %u (%d): ", allocWritten_, offset); ^ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:644:34: warning: null argument where non-null required (argument 1) [-Wnonnull] fprintf(IonSpewFile, "\n"); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:9: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/AssemblerBuffer.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/X86Assembler.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86Common.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssemblerX86_64.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/assembler/assembler/MacroAssembler.h:54, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Architecture-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Registers.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Snapshots.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ StupidAllocator.o c++ -o StupidAllocator.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/StupidAllocator.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/RegisterAllocator.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/StupidAllocator.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ TypeDescrSet.o c++ -o TypeDescrSet.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TypeDescrSet.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypeDescrSet.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ TypePolicy.o c++ -o TypePolicy.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TypePolicy.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Lowering.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonAllocPolicy.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/TypePolicy.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ UnreachableCodeElimination.o c++ -o UnreachableCodeElimination.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/UnreachableCodeElimination.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Ion.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/FixedList.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIRGraph.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/UnreachableCodeElimination.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ VMFunctions.o c++ -o VMFunctions.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/VMFunctions.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompileInfo.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/VMFunctions.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ValueNumbering.o c++ -o ValueNumbering.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/ValueNumbering.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/CompilerRoot.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ValueNumbering.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Assembler-x86-shared.o c++ -o Assembler-x86-shared.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Assembler-x86-shared.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakcache.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakcache.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakcache.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakcache.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakcache.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakcache.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakcache.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakcache.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakcache.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakcache.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-x86-shared.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ BaselineCompiler-shared.o c++ -o BaselineCompiler-shared.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/BaselineCompiler-shared.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineRegisters-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineRegisters.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineRegisters-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineRegisters.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineRegisters-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineRegisters.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ BaselineCompiler-x86-shared.o c++ -o BaselineCompiler-x86-shared.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/BaselineCompiler-x86-shared.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineRegisters-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineRegisters.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineRegisters-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineRegisters.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineRegisters-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineRegisters.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ BaselineIC-x86-shared.o c++ -o BaselineIC-x86-shared.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/BaselineIC-x86-shared.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineIC-x86-shared.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ CodeGenerator-shared.o c++ -o CodeGenerator-shared.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/CodeGenerator-shared.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitFrameIterator-inl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames-inl.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ CodeGenerator-x86-shared.o c++ -o CodeGenerator-x86-shared.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/CodeGenerator-x86-shared.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Lowering-shared.o c++ -o Lowering-shared.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Lowering-shared.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Lowering-x86-shared.o c++ -o Lowering-x86-shared.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Lowering-x86-shared.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ MacroAssembler-x86-shared.o c++ -o MacroAssembler-x86-shared.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/MacroAssembler-x86-shared.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ MoveEmitter-x86-shared.o c++ -o MoveEmitter-x86-shared.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/MoveEmitter-x86-shared.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MoveEmitter-x86-shared.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Assembler-x64.o c++ -o Assembler-x64.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Assembler-x64.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Bailouts-x64.o c++ -o Bailouts-x64.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Bailouts-x64.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Bailouts-x64.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ BaselineCompiler-x64.o c++ -o BaselineCompiler-x64.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/BaselineCompiler-x64.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineRegisters-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineRegisters.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineRegisters-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineRegisters.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineRegisters-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineRegisters.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrameInfo.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/BaselineCompiler-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineCompiler-x64.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ BaselineIC-x64.o c++ -o BaselineIC-x64.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/BaselineIC-x64.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineIC.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineHelpers.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineIC-x64.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ CodeGenerator-x64.o c++ -o CodeGenerator-x64.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/CodeGenerator-x64.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-shared.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/CodeGenerator-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/CodeGenerator-x64.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Lowering-x64.o c++ -o Lowering-x64.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Lowering-x64.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/LIR.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-shared.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Lowering-x86-shared.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Lowering-x64.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ MacroAssembler-x64.o c++ -o MacroAssembler-x64.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/MacroAssembler-x64.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Trampoline-x64.o c++ -o Trampoline-x64.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Trampoline-x64.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/BaselineHelpers-x64.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonLinker.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonLinker.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonLinker.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonFrames.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/Bailouts.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Trampoline-x64.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsalloc.o c++ -o jsalloc.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsalloc.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.cpp:9: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsanalyze.o c++ -o jsanalyze.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsanalyze.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:11: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:78:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::Bytecode'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:73:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:430:41: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::analyze::SSAPhiNode'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:424:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:465:42: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::SSAUseChain'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:453:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*, size_t) [with T = js::analyze::SSAUseChain; size_t = long unsigned int]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:1698:41: required from here ../../dist/include/mozilla/PodOperations.h:46:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::SSAUseChain'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:453:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsapi.o c++ -o jsapi.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsapi.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:95: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:95: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:21: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:24: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:24: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:24: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:92: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:92: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:92: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:92: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:92: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsbool.o c++ -o jsbool.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsbool.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsboolinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsbool.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jscntxt.o c++ -o jscntxt.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jscntxt.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:51: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:54: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:51: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:51: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:51: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:51: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:51: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsalloc.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: ../../dist/include/js/Utility.h: In instantiation of 'void js_delete_poison(T*) [with T = JSContext]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:266:24: required from here ../../dist/include/js/Utility.h:351:15: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct JSContext' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0x3B, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:402:8: note: 'struct JSContext' declared here struct JSContext : public js::ExclusiveContext, ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxtinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jscompartment.o c++ -o jscompartment.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jscompartment.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:32: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:22: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:22: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:22: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:31: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:31: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartmentinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::ReadBarriered; HashPolicy = js::HashSet, js::StackBaseShape, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:414:57: required from 'void js::HashSet::clear() [with T = js::ReadBarriered; HashPolicy = js::StackBaseShape; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:667:26: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashSet, js::StackBaseShape, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashSet, js::StackBaseShape, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::InitialShapeEntry; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:414:57: required from 'void js::HashSet::clear() [with T = js::InitialShapeEntry; HashPolicy = js::InitialShapeEntry; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:669:29: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::types::TypeObjectWithNewScriptEntry; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:414:57: required from 'void js::HashSet::clear() [with T = js::types::TypeObjectWithNewScriptEntry; HashPolicy = js::types::TypeObjectWithNewScriptEntry; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.cpp:671:30: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jscrashreport.o c++ -o jscrashreport.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jscrashreport.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscrashreport.cpp jsdate.o c++ -o jsdate.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsdate.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:45: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:28: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:45: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:45: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:45: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:45: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:45: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdate.cpp:27: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsdtoa.o c++ -o jsdtoa.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsdtoa.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsdtoa.cpp jsexn.o c++ -o jsexn.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsexn.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:33: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:19: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:33: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:33: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:33: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:33: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:33: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsexn.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsfriendapi.o c++ -o jsfriendapi.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsfriendapi.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:13: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.cpp:13: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsfun.o c++ -o jsfun.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsfun.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:46: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:46: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:44: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:44: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:44: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:46: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:46: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfuninlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsgc.o c++ -o jsgc.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsgc.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:218: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:221: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Zone.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:206: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:206: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:206: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:218: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:218: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgcinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:174: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::gc::Chunk* const; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:414:57: required from 'void js::HashSet::clear() [with T = js::gc::Chunk*; HashPolicy = js::GCChunkHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:1173:30: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = void*; Value = js::RootInfo; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:1179:31: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::EvalCacheEntry; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:414:57: required from 'void js::HashSet::clear() [with T = js::EvalCacheEntry; HashPolicy = js::EvalCacheHashPolicy; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.cpp:2610:25: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsinfer.o c++ -o jsinfer.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsinfer.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:37: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*, size_t) [with T = js::types::TemporaryTypeSet; size_t = long unsigned int]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:844:25: required from here ../../dist/include/mozilla/PodOperations.h:46:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::types::TemporaryTypeSet'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:650:7: note: 'class js::types::TemporaryTypeSet' declared here class TemporaryTypeSet : public TypeSet ^~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeCompartment]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:2007:17: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::TypeCompartment'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:1528:8: note: 'struct js::types::TypeCompartment' declared here struct TypeCompartment ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry >; HashPolicy = js::HashMap, js::types::AllocationSiteKey, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = js::types::AllocationSiteKey; Value = js::ReadBarriered; HashPolicy = js::types::AllocationSiteKey; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:4161:36: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable >, js::HashMap, js::types::AllocationSiteKey, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry > >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable >, js::HashMap, js::types::AllocationSiteKey, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry > >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry >; HashPolicy = js::HashMap, js::types::ArrayTableKey, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = js::types::ArrayTableKey; Value = js::ReadBarriered; HashPolicy = js::types::ArrayTableKey; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:4163:31: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable >, js::HashMap, js::types::ArrayTableKey, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry > >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable >, js::HashMap, js::types::ArrayTableKey, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry > >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = js::types::ObjectTableKey; Value = js::types::ObjectTableEntry; HashPolicy = js::types::ObjectTableKey; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.cpp:4165:32: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsiter.o c++ -o jsiter.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsiter.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:35: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NativeIterator]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:451:15: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::NativeIterator' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:30:8: note: 'struct js::NativeIterator' declared here struct NativeIterator ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.cpp:9: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsnativestack.o c++ -o jsnativestack.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsnativestack.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnativestack.cpp jsnum.o c++ -o jsnum.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsnum.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:24: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:24: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:24: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:24: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:24: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/NumberObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:37: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:24: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:24: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/NumberObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:37: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/NumberObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:37: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/NumberObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:37: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/NumberObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:37: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/NumberObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:37: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:25: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsnum.cpp:24: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsobj.o c++ -o jsobj.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsobj.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ json.o c++ -o json.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/json.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:11: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/json.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsonparser.o c++ -o jsonparser.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsonparser.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/IdValuePair.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/IdValuePair.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/IdValuePair.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/IdValuePair.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/IdValuePair.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/IdValuePair.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/IdValuePair.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/IdValuePair.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/IdValuePair.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/IdValuePair.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/IdValuePair.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/IdValuePair.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsonparser.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsopcode.o c++ -o jsopcode.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsopcode.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:43: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:42: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:42: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:42: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:42: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = {anonymous}::BytecodeParser::Bytecode]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:293:43: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class {anonymous}::BytecodeParser::Bytecode'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:290:11: note: 'class {anonymous}::BytecodeParser::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcodeinlines.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsopcode.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsprf.o c++ -o jsprf.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsprf.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsprf.cpp jspropertytree.o c++ -o jspropertytree.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jspropertytree.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:9: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspropertytree.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsproxy.o c++ -o jsproxy.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsproxy.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:22: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:12: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsreflect.o c++ -o jsreflect.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsreflect.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FullParseHandler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FullParseHandler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/TokenStream.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/ParseNode.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/FullParseHandler.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/Parser.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:26: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsreflect.cpp:16: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsscript.o c++ -o jsscript.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsscript.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:51: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:54: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:50: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:50: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSScript]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:2267:25: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class JSScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:643:7: note: 'class JSScript' declared here class JSScript : public js::gc::BarrieredCell ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::SharedScriptData* const; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:414:57: required from 'void js::HashSet::clear() [with T = js::SharedScriptData*; HashPolicy = js::ScriptBytecodeHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.cpp:2127:17: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:57:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:77:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/ds/InlineMap.h:258:24: required from 'bool js::InlineMap::add(js::InlineMap::AddPtr&, const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/frontend/BytecodeEmitter.h:191:45: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsstr.o c++ -o jsstr.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsstr.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:57: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:57: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:30: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:33: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:33: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:33: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:55: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:55: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:55: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:55: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:55: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:18: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsstr.cpp:29: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jswatchpoint.o c++ -o jswatchpoint.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jswatchpoint.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = js::WatchKey; Value = js::Watchpoint; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswatchpoint.cpp:112:15: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsweakmap.o c++ -o jsweakmap.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsweakmap.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry, js::RelocatableValue>; HashPolicy = js::HashMap, js::RelocatableValue, js::DefaultHasher >, js::RuntimeAllocPolicy>::MapHashPolicy; AllocPolicy = js::RuntimeAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = js::EncapsulatedPtr; Value = js::RelocatableValue; HashPolicy = js::DefaultHasher >; AllocPolicy = js::RuntimeAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.cpp:172:20: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::RelocatableValue>, js::HashMap, js::RelocatableValue, js::DefaultHasher >, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry, js::RelocatableValue> >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::RelocatableValue>, js::HashMap, js::RelocatableValue, js::DefaultHasher >, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry, js::RelocatableValue> >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsworkers.o c++ -o jsworkers.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsworkers.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/MIR.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonBuilder.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::GlobalWorkerThreadState]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:449:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::GlobalWorkerThreadState' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:37:7: note: 'class js::GlobalWorkerThreadState' declared here class GlobalWorkerThreadState ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsworkers.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jswrapper.o c++ -o jswrapper.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jswrapper.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:9: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:18: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsproxy.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jswrapper.cpp:9: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsperf.o c++ -o jsperf.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsperf.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/perf/jsperf.cpp:8: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ prmjtime.o c++ -o prmjtime.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/prmjtime.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/prmjtime.cpp ArgumentsObject.o c++ -o ArgumentsObject.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/ArgumentsObject.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArgumentsObject.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ArrayBufferObject.o c++ -o ArrayBufferObject.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/ArrayBufferObject.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:49: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:48: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:48: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ CallNonGenericMethod.o c++ -o CallNonGenericMethod.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/CallNonGenericMethod.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CallNonGenericMethod.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CallNonGenericMethod.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CallNonGenericMethod.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CallNonGenericMethod.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CallNonGenericMethod.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CallNonGenericMethod.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CallNonGenericMethod.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CallNonGenericMethod.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CallNonGenericMethod.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CallNonGenericMethod.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CallNonGenericMethod.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CallNonGenericMethod.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CallNonGenericMethod.cpp:9: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CallNonGenericMethod.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CallNonGenericMethod.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CallNonGenericMethod.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CallNonGenericMethod.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CallNonGenericMethod.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CallNonGenericMethod.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ CharacterEncoding.o c++ -o CharacterEncoding.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/CharacterEncoding.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/CharacterEncoding.cpp:9: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Compression.o c++ -o Compression.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Compression.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Compression.cpp DateTime.o c++ -o DateTime.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/DateTime.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DateTime.cpp Debugger.o c++ -o Debugger.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Debugger.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ DebuggerMemory.o c++ -o DebuggerMemory.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/DebuggerMemory.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/DebuggerMemory.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ErrorObject.o c++ -o ErrorObject.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/ErrorObject.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ErrorObject.cpp:8: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ForkJoin.o c++ -o ForkJoin.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/ForkJoin.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:24: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:24: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:24: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.cpp:13: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ GlobalObject.o c++ -o GlobalObject.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/GlobalObject.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/RegExp.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/GlobalObject.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Id.o c++ -o Id.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Id.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Id.cpp Interpreter.o c++ -o Interpreter.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Interpreter.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ MemoryMetrics.o c++ -o MemoryMetrics.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/MemoryMetrics.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from ../../dist/include/js/MemoryMetrics.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from ../../dist/include/js/MemoryMetrics.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from ../../dist/include/js/MemoryMetrics.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from ../../dist/include/js/MemoryMetrics.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from ../../dist/include/js/MemoryMetrics.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ../../dist/include/js/MemoryMetrics.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ../../dist/include/js/MemoryMetrics.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from ../../dist/include/js/MemoryMetrics.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from ../../dist/include/js/MemoryMetrics.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:17: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from ../../dist/include/js/MemoryMetrics.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/MemoryMetrics.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Monitor.o c++ -o Monitor.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Monitor.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Monitor.cpp ObjectImpl.o c++ -o ObjectImpl.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/ObjectImpl.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ OldDebugAPI.o c++ -o OldDebugAPI.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/OldDebugAPI.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:35: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:35: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from ../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:15: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from ../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from ../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from ../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from ../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from ../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from ../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from ../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from ../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from ../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:32: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from ../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:32: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from ../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:11: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:26, from ../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/OldDebugAPI.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ PIC.o c++ -o PIC.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/PIC.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PIC.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Probes.o c++ -o Probes.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Probes.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Probes.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ PropertyKey.o c++ -o PropertyKey.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/PropertyKey.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from ../../dist/include/js/PropertyKey.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:11: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from ../../dist/include/js/PropertyKey.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from ../../dist/include/js/PropertyKey.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from ../../dist/include/js/PropertyKey.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from ../../dist/include/js/PropertyKey.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/Value.h:21, from ../../dist/include/js/PropertyKey.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/PropertyKey.cpp:11: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ProxyObject.o c++ -o ProxyObject.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/ProxyObject.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ProxyObject.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ RegExpObject.o c++ -o RegExpObject.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/RegExpObject.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:19: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::RuntimeAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = js::RegExpCompartment::Key; Value = js::RegExpShared*; HashPolicy = js::RegExpCompartment::Key; AllocPolicy = js::RuntimeAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.cpp:727:16: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ RegExpStatics.o c++ -o RegExpStatics.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/RegExpStatics.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Marking.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/RegExpStatics.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Runtime.o c++ -o Runtime.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Runtime.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:37: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:37: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/JitCompartment.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:37: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ SPSProfiler.o c++ -o SPSProfiler.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/SPSProfiler.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ SavedStacks.o c++ -o SavedStacks.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/SavedStacks.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:16: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:8: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::SavedFrame* const; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:414:57: required from 'void js::HashSet::clear() [with T = js::SavedFrame*; HashPolicy = js::SavedFrame::HashPolicy; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SavedStacks.cpp:409:18: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ScopeObject.o c++ -o ScopeObject.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/ScopeObject.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:21: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:24: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry, js::RelocatablePtr >; HashPolicy = js::HashMap, js::RelocatablePtr, js::DefaultHasher >, js::RuntimeAllocPolicy>::MapHashPolicy; AllocPolicy = js::RuntimeAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = js::EncapsulatedPtr; Value = js::RelocatablePtr; HashPolicy = js::DefaultHasher >; AllocPolicy = js::RuntimeAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:2098:37: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::RelocatablePtr >, js::HashMap, js::RelocatablePtr, js::DefaultHasher >, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry, js::RelocatablePtr > >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::RelocatablePtr >, js::HashMap, js::RelocatablePtr, js::DefaultHasher >, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry, js::RelocatablePtr > >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry >; HashPolicy = js::HashMap, js::ScopeIterKey, js::RuntimeAllocPolicy>::MapHashPolicy; AllocPolicy = js::RuntimeAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = js::ScopeIterKey; Value = js::ReadBarriered; HashPolicy = js::ScopeIterKey; AllocPolicy = js::RuntimeAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:2099:37: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable >, js::HashMap, js::ScopeIterKey, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry > >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable >, js::HashMap, js::ScopeIterKey, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry > >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::RuntimeAllocPolicy>::MapHashPolicy; AllocPolicy = js::RuntimeAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = js::ScopeObject*; Value = js::ScopeIterVal; HashPolicy = js::DefaultHasher; AllocPolicy = js::RuntimeAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ScopeObject.cpp:2100:34: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ SelfHosting.o c++ -o SelfHosting.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/SelfHosting.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:9: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:27: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/BooleanObject-inl.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SelfHosting.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Shape.o c++ -o Shape.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Shape.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsiter.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Interpreter.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:23: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.cpp:9: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ SharedArrayObject.o c++ -o SharedArrayObject.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/SharedArrayObject.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SharedArrayObject.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Stack.o c++ -o Stack.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Stack.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'js::jit::BaselineDebugModeOSRInfo* js::jit::BaselineFrame::debugModeOSRInfo()': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:307:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&loScratchValue_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h: In member function 'void js::jit::BaselineFrame::setDebugModeOSRInfo(js::jit::BaselineDebugModeOSRInfo*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineFrame.h:318:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast(&loScratchValue_) = info; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Stack.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ String.o c++ -o String.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/String.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String-inl.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ StringBuffer.o c++ -o StringBuffer.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/StringBuffer.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StringBuffer.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ StructuredClone.o c++ -o StructuredClone.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/StructuredClone.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:47: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/StructuredClone.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:30: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:38: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/StructuredClone.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:30: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/StructuredClone.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:30: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/StructuredClone.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:30: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/StructuredClone.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:30: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/StructuredClone.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:30: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/StructuredClone.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:30: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:47: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/StructuredClone.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:30: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:47: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/StructuredClone.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:30: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:47: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/StructuredClone.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:30: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:47: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/StructuredClone.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:30: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:47: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/StructuredClone.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:30: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:37: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::TempAllocPolicy>::MapHashPolicy; AllocPolicy = js::TempAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSObject*; Value = unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi.h:329:9: required from 'void JS::AutoHashMapRooter::clear() [with Key = JSObject*; Value = unsigned int]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/StructuredClone.cpp:1117:18: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ThreadPool.o c++ -o ThreadPool.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/ThreadPool.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:13: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsmath.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ForkJoin.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ThreadPool.cpp:13: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ TypedArrayObject.o c++ -o TypedArrayObject.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/TypedArrayObject.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:44: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:252:38: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:268:40: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:501:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/AsmJSModule.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:34: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:72:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:43: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:630:48: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:43: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinferinlines.h:1113:26: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp: In instantiation of 'static bool {anonymous}::TypedArrayObjectTemplate::copyFromWithOverlap(JSContext*, JSObject*, JSObject*, uint32_t) [with NativeType = js::uint8_clamped; uint32_t = unsigned int]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:997:39: required from 'static bool {anonymous}::TypedArrayObjectTemplate::copyFromTypedArray(JSContext*, JSObject*, JSObject*, uint32_t) [with NativeType = js::uint8_clamped; uint32_t = unsigned int]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:945:38: required from 'static bool {anonymous}::TypedArrayObjectTemplate::copyFromArray(JSContext*, JS::HandleObject, JS::HandleObject, uint32_t, uint32_t) [with NativeType = js::uint8_clamped; JS::HandleObject = JS::Handle; uint32_t = unsigned int]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:826:35: required from 'static JSObject* {anonymous}::TypedArrayObjectTemplate::fromArray(JSContext*, JS::HandleObject) [with NativeType = js::uint8_clamped; JS::HandleObject = JS::Handle]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:2100:1: required from here /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:1076:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct js::uint8_clamped' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(dest, tarray->viewData(), byteLength); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/TypedArrayObject.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:317:8: note: 'struct js::uint8_clamped' declared here struct uint8_clamped { ^~~~~~~~~~~~~ Unicode.o c++ -o Unicode.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Unicode.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Unicode.cpp Value.o c++ -o Value.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Value.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Value.cpp WeakMapPtr.o c++ -o WeakMapPtr.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/WeakMapPtr.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/WeakMapPtr.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:9: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/WeakMapPtr.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/WeakMapPtr.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/WeakMapPtr.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/WeakMapPtr.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/WeakMapPtr.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ArrayBufferObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/builtin/TypedObject.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscompartment.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsweakmap.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/WeakMapPtr.cpp:9: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ Xdr.o c++ -o Xdr.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Xdr.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:7: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jspubtd.h:16, from ../../dist/include/js/RootingAPI.h:16, from ../../dist/include/js/CallArgs.h:38, from ../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:7: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Debugger.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:14: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Xdr.cpp:7: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ PageBlock.o c++ -o PageBlock.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/PageBlock.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/PageBlock.cpp YarrCanonicalizeUCS2.o c++ -o YarrCanonicalizeUCS2.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/YarrCanonicalizeUCS2.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.h:33, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp:30: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ YarrInterpreter.o c++ -o YarrInterpreter.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/YarrInterpreter.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrInterpreter.cpp:29: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ YarrPattern.o c++ -o YarrPattern.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/YarrPattern.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.h:32, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrPattern.cpp:29: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ YarrSyntaxChecker.o c++ -o YarrSyntaxChecker.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/YarrSyntaxChecker.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: ../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:619:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:816:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:717:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:155:30: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: ../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:325:45: required from here ../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/wtfbridge.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: ../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/vm/SPSProfiler.h:244:19: required from here ../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/shell' mkdir -p '.deps/' js.o c++ -o js.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/js.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:74: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:12: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:39: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:12: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:12: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:12: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:41: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:12: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:41: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:12: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:41: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:12: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsanalyze.h:72:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:74: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:12: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/shared/Assembler-shared.h:252:38: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:74: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:12: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/shared/Assembler-shared.h:268:40: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:74: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:12: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/shared/Assembler-shared.h:501:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:74: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:12: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsinferinlines.h:630:48: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:74: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:12: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsinferinlines.h:1113:26: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsarray.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:39: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:38: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:38: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsapi.h: In function 'bool Evaluate(JSContext*, unsigned int, jsval*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsapi.h:1392:22: warning: '*((void*)(& ancx)+16).JSAutoRequest::mContext' may be used uninitialized in this function [-Wmaybe-uninitialized] JS_EndRequest(mContext); ~~~~~~~~~~~~~^~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:1244:20: note: '*((void*)(& ancx)+16).JSAutoRequest::mContext' was declared here AutoNewContext ancx; ^~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsinferinlines.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:74: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxtinlines.h:456:30: warning: '*((void*)(& ancx)+32).js::AutoCompartment::origin_' may be used uninitialized in this function [-Wmaybe-uninitialized] zone_ = comp ? comp->zone() : nullptr; ~~~~~~~~~~^~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:1244:20: note: '*((void*)(& ancx)+32).js::AutoCompartment::origin_' was declared here AutoNewContext ancx; ^~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsinferinlines.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:74: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxtinlines.h:457:16: warning: '*((void*)(& ancx)+32).js::AutoCompartment::cx_' may be used uninitialized in this function [-Wmaybe-uninitialized] allocator_ = zone_ ? &zone_->allocator : nullptr; ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js.cpp:1244:20: note: '*((void*)(& ancx)+32).js::AutoCompartment::cx_' was declared here AutoNewContext ancx; ^~~~ jsheaptools.o c++ -o jsheaptools.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/jsheaptools.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:14: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:15: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:14: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:14: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:14: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:14: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:14: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:14: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsanalyze.h:72:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:14: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/shared/Assembler-shared.h:252:38: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:14: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/shared/Assembler-shared.h:268:40: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:14: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/shared/Assembler-shared.h:501:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:14: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsinferinlines.h:630:48: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:20: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:14: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsinferinlines.h:1113:26: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsheaptools.cpp:14: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ jsoptparse.o c++ -o jsoptparse.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/jsoptparse.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/jsoptparse.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/jsapi-tests' mkdir -p '.deps/' selfTest.o c++ -o selfTest.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/selfTest.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/selfTest.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testAddPropertyPropcache.o c++ -o testAddPropertyPropcache.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testAddPropertyPropcache.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testArgumentsObject.o c++ -o testArgumentsObject.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testArgumentsObject.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsanalyze.h:72:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/Assembler-shared.h:252:38: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/Assembler-shared.h:268:40: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/Assembler-shared.h:501:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsinferinlines.h:630:48: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsinferinlines.h:1113:26: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArgumentsObject.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testArrayBuffer.o c++ -o testArrayBuffer.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testArrayBuffer.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:7: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testArrayBuffer.cpp:7: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testBindCallable.o c++ -o testBindCallable.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testBindCallable.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBindCallable.cpp:5: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testBug604087.o c++ -o testBug604087.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testBug604087.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:10: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testBug604087.cpp:10: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testCallNonGenericMethodOnProxy.o c++ -o testCallNonGenericMethodOnProxy.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testCallNonGenericMethodOnProxy.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testChromeBuffer.o c++ -o testChromeBuffer.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testChromeBuffer.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testChromeBuffer.cpp:7: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testClassGetter.o c++ -o testClassGetter.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testClassGetter.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testClassGetter.cpp:10: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testCloneScript.o c++ -o testCloneScript.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testCloneScript.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:11: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:26, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCloneScript.cpp:10: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testConservativeGC.o c++ -o testConservativeGC.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testConservativeGC.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testConservativeGC.cpp testContexts.o c++ -o testContexts.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testContexts.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testContexts.cpp:7: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testCustomIterator.o c++ -o testCustomIterator.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testCustomIterator.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/Class.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:6: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/Class.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/Class.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/Class.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/Class.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/Class.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testCustomIterator.cpp:6: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testDebugger.o c++ -o testDebugger.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testDebugger.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDebugger.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testDeepFreeze.o c++ -o testDeepFreeze.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testDeepFreeze.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDeepFreeze.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testDefineGetterSetterNonEnumerable.o c++ -o testDefineGetterSetterNonEnumerable.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testDefineGetterSetterNonEnumerable.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testDefineProperty.o c++ -o testDefineProperty.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testDefineProperty.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testDefineProperty.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testEnclosingFunction.o c++ -o testEnclosingFunction.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testEnclosingFunction.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:13: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:26, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testEnclosingFunction.cpp:12: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testErrorCopying.o c++ -o testErrorCopying.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testErrorCopying.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testErrorCopying.cpp:11: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testException.o c++ -o testException.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testException.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testException.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testExternalStrings.o c++ -o testExternalStrings.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testExternalStrings.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:6: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:6: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:6: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:6: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:6: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:6: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testExternalStrings.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testFindSCCs.o c++ -o testFindSCCs.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testFindSCCs.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/FindSCCs.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:11: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:12: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/FindSCCs.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:11: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/FindSCCs.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:11: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/FindSCCs.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:11: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/FindSCCs.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:11: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/FindSCCs.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:11: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFindSCCs.cpp:12: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testFreshGlobalEvalRedefinition.o c++ -o testFreshGlobalEvalRedefinition.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testFreshGlobalEvalRedefinition.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFreshGlobalEvalRedefinition.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testFuncCallback.o c++ -o testFuncCallback.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testFuncCallback.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testFunctionProperties.o c++ -o testFunctionProperties.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testFunctionProperties.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testFunctionProperties.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testGCExactRooting.o c++ -o testGCExactRooting.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testGCExactRooting.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCExactRooting.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testGCFinalizeCallback.o c++ -o testGCFinalizeCallback.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testGCFinalizeCallback.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCFinalizeCallback.cpp:5: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testGCHeapPostBarriers.o c++ -o testGCHeapPostBarriers.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testGCHeapPostBarriers.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:11: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCHeapPostBarriers.cpp:11: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testGCOutOfMemory.o c++ -o testGCOutOfMemory.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testGCOutOfMemory.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testGCStoreBufferRemoval.o c++ -o testGCStoreBufferRemoval.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testGCStoreBufferRemoval.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:10: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testGCStoreBufferRemoval.cpp:10: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testHashTable.o c++ -o testHashTable.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testHashTable.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from ../../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:6: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from ../../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from ../../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from ../../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from ../../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ../../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:5: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = unsigned int; Value = unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:203:18: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const unsigned int; HashPolicy = js::HashSet, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:414:57: required from 'void js::HashSet::clear() [with T = unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTable.cpp:225:18: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testHashTableInit.o c++ -o testHashTableInit.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testHashTableInit.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from ../../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:6: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from ../../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from ../../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from ../../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from ../../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ../../../dist/include/js/HashTable.h:18, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testHashTableInit.cpp:5: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testIndexToString.o c++ -o testIndexToString.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testIndexToString.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIndexToString.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testIntString.o c++ -o testIntString.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testIntString.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntString.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testIntTypesABI.o c++ -o testIntTypesABI.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testIntTypesABI.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:41: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:41: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:41: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:41: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:41: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:41: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:41: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:41: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:41: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:41: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:13: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:27: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:13: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:41: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:13: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:41: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:13: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:41: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:13: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:41: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:13: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:41: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntTypesABI.cpp:23: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testIntern.o c++ -o testIntern.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testIntern.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:5: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIntern.cpp:5: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testIsInsideNursery.o c++ -o testIsInsideNursery.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testIsInsideNursery.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testIsInsideNursery.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testJSEvaluateScript.o c++ -o testJSEvaluateScript.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testJSEvaluateScript.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testJitRValueAlloc.o c++ -o testJitRValueAlloc.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testJitRValueAlloc.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:10: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/Value.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonTypes.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/CompactBuffer.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/Snapshots.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../assembler/jit/ExecutableAllocator.h:36, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../assembler/assembler/AssemblerBuffer.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../assembler/assembler/X86Assembler.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../assembler/assembler/MacroAssemblerX86Common.h:37, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../assembler/assembler/MacroAssemblerX86_64.h:39, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../assembler/assembler/MacroAssembler.h:54, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/x64/Architecture-x64.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/Registers.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/Snapshots.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testJitRValueAlloc.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testLookup.o c++ -o testLookup.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testLookup.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleTypeObject, js::HeapSlot*)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobjinlines.h:535:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->fixedSlots(), 0, sizeof(js::HeapSlot) * GetGCKindSlots(kind)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsanalyze.h:72:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsinferinlines.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsanalyze.h:44:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/Assembler-shared.h:252:38: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/Assembler-shared.h:268:40: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/Assembler-shared.h:501:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/ExecutionMode-inl.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsinferinlines.h:27, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsinferinlines.h:630:48: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobjinlines.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsinferinlines.h:622:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey : public DefaultHasher { ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsinferinlines.h:1113:26: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsinfer.h:915:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::BarrieredCell ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:21, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfun.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLookup.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testLooselyEqual.o c++ -o testLooselyEqual.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testLooselyEqual.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testLooselyEqual.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testMappedArrayBuffer.o c++ -o testMappedArrayBuffer.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testMappedArrayBuffer.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:13: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:15: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:13: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:13: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:13: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:13: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:13: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:15: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testMappedArrayBuffer.cpp:15: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testNewObject.o c++ -o testNewObject.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testNewObject.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNewObject.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testNullRoot.o c++ -o testNullRoot.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testNullRoot.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testNullRoot.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testOOM.o c++ -o testOOM.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testOOM.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOOM.cpp:7: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testObjectEmulatingUndefined.o c++ -o testObjectEmulatingUndefined.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testObjectEmulatingUndefined.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testObjectEmulatingUndefined.cpp:5: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testOps.o c++ -o testOps.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testOps.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOps.cpp:10: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testOriginPrincipals.o c++ -o testOriginPrincipals.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testOriginPrincipals.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:6: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:6: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:26, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testOriginPrincipals.cpp:5: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testParseJSON.o c++ -o testParseJSON.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testParseJSON.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsstr.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:12: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsstr.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsstr.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsstr.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsstr.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsstr.h:11, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testParseJSON.cpp:12: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testPersistentRooted.o c++ -o testPersistentRooted.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testPersistentRooted.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/Class.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/Class.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/Class.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/Class.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/Class.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/Class.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPersistentRooted.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testProfileStrings.o c++ -o testProfileStrings.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testProfileStrings.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testProfileStrings.cpp:10: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testPropCache.o c++ -o testPropCache.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testPropCache.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testPropCache.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testRegExp.o c++ -o testRegExp.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testRegExp.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testRegExp.cpp:5: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testResolveRecursion.o c++ -o testResolveRecursion.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testResolveRecursion.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testResolveRecursion.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testSameValue.o c++ -o testSameValue.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testSameValue.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSameValue.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testScriptInfo.o c++ -o testScriptInfo.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testScriptInfo.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:9: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:26, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptInfo.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testScriptObject.o c++ -o testScriptObject.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testScriptObject.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testScriptObject.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testSetProperty.o c++ -o testSetProperty.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testSetProperty.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetProperty.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testSetPropertyIgnoringNamedGetter.o c++ -o testSetPropertyIgnoringNamedGetter.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testSetPropertyIgnoringNamedGetter.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSetPropertyIgnoringNamedGetter.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testSourcePolicy.o c++ -o testSourcePolicy.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testSourcePolicy.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testStringBuffer.o c++ -o testStringBuffer.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testStringBuffer.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:10, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStringBuffer.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testStructuredClone.o c++ -o testStructuredClone.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testStructuredClone.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/StructuredClone.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:7: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/StructuredClone.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/StructuredClone.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/StructuredClone.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/StructuredClone.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/StructuredClone.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testStructuredClone.cpp:7: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testToIntWidth.o c++ -o testToIntWidth.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testToIntWidth.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testToIntWidth.cpp:10: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testTrap.o c++ -o testTrap.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testTrap.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:9: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:9: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:26, from ../../../dist/include/js/OldDebugAPI.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTrap.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testTypedArrays.o c++ -o testTypedArrays.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testTypedArrays.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:10: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:10: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testTypedArrays.cpp:10: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testUTF8.o c++ -o testUTF8.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testUTF8.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:12: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:8: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:12: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUTF8.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testUncaughtError.o c++ -o testUncaughtError.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testUncaughtError.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testUncaughtError.cpp:5: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ testXDR.o c++ -o testXDR.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/testXDR.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:8: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:19, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:8: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:11: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/Assembler-shared.h:252:38: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/Assembler-shared.h:244:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/Assembler-shared.h:268:40: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/Assembler-shared.h:257:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jspubtd.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsfriendapi.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/Assembler-shared.h:501:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/x64/Assembler-x64.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/MacroAssembler-x86-shared.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/x64/MacroAssembler-x64.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonMacroAssembler.h:17, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/BaselineJIT.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscriptinlines.h:13, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:13: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/shared/Assembler-shared.h:479:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/testXDR.cpp:8: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ tests.o c++ -o tests.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/tests.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/Runtime.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../jsapi-tests/tests.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/tests.cpp:7: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/jsapi-tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/gdb' mkdir -p '.deps/' gdb-tests.o c++ -o gdb-tests.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/gdb-tests.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/gdb-tests.cpp test-JSObject.o c++ -o test-JSObject.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/test-JSObject.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSObject.cpp test-JSString.o c++ -o test-JSString.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/test-JSString.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:3: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsobj.h: In member function 'void JSObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsobj.h:667:74: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:2: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:3: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsobj.h: In member function 'void JSObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsobj.h:674:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:2: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:3: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsobj.h: In member function 'void JSObject::initDenseElementsUnbarriered(uint32_t, const JS::Value*, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsobj.h:693:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements[dstStart], src, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:2: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:3: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsobj.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsobj.h:727:91: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:2: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:3: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsobj.h: In member function 'void JSObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsobj.h:738:84: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:2: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../gc/Barrier.h:906:7: note: 'class js::HeapSlot' declared here class HeapSlot : public BarrieredValue ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/gdb-tests.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:1: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': ../../../dist/include/js/MemoryMetrics.h:39:39: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../gc/StoreBuffer.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:2: ../../../dist/include/js/MemoryMetrics.h:30:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/gdb-tests.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:1: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../vm/Shape.h:619:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../vm/ObjectImpl.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:3: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../vm/Shape.h:542:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::BarrieredCell ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/gdb-tests.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:1: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../vm/String.h:816:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../vm/ObjectImpl.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsobj.h:24, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsgc.h:16, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../vm/Runtime.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:3: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../vm/String.h:798:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/gdb-tests.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:1: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jit/IonCode.h:717:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsscript.h:25, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../vm/Runtime.h:26, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:3: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jit/IonCode.h:704:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/gdb-tests.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:1: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../vm/Runtime.h:155:30: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:3: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../vm/Runtime.h:141:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jspubtd.h:16, from ../../../dist/include/js/RootingAPI.h:16, from ../../../dist/include/js/CallArgs.h:38, from ../../../dist/include/js/CallNonGenericMethod.h:12, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../NamespaceImports.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/gdb-tests.h:23, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:1: ../../../dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../vm/Runtime.h:325:45: required from here ../../../dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jscntxt.h:15, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:3: /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../vm/Runtime.h:276:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../gc/Nursery.h:20, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../gc/StoreBuffer.h:22, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../gc/Barrier.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../jsatom.h:14, from /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-JSString.cpp:2: ../../../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ../../../dist/include/js/HashTable.h:183:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/../vm/SPSProfiler.h:244:19: required from here ../../../dist/include/js/HashTable.h:1438:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dist/include/js/HashTable.h:674:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ test-Root.o c++ -o test-Root.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/test-Root.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-Root.cpp test-jsid.o c++ -o test-jsid.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/test-jsid.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-jsid.cpp test-jsval.o c++ -o test-jsval.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/test-jsval.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-jsval.cpp test-prettyprinters.o c++ -o test-prettyprinters.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/test-prettyprinters.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/test-prettyprinters.cpp typedef-printers.o c++ -o typedef-printers.o -c -I../../../dist/system_wrappers -include /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb -I. -I/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/.. -I.. -I../../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../../js/src/js-confdefs.h -MD -MP -MF .deps/typedef-printers.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/tests/typedef-printers.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/gdb' make[2]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' make libs make[1]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' make recurse_libs make[2]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' mkdir -p 'subtiers/js_finish/' mkdir -p 'subtiers/js_start/' mkdir -p 'subtiers/js/' mkdir -p 'subtiers/base_finish/' mkdir -p 'subtiers/base_start/' mkdir -p 'subtiers/base/' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/config' make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/config' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/python' mkdir -p '.deps/' make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/python' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/mfbt' libmfbt.a.desc rm -f libmfbt.a /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_gen.py --depend .deps/libmfbt.a.desc.pp -o libmfbt.a.desc Compression.o Decimal.o FloatingPoint.o HashFunctions.o Poison.o SHA1.o bignum-dtoa.o bignum.o cached-powers.o diy-fp.o double-conversion.o fast-dtoa.o fixed-dtoa.o strtod.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/mfbt' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/mfbt/tests' TestAtomics /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/TestAtomics.pp --target TestAtomics --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -o TestAtomics TestAtomics.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ../../mfbt/libmfbt.a -lm -ldl TestBinarySearch /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/TestBinarySearch.pp --target TestBinarySearch --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -o TestBinarySearch TestBinarySearch.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ../../mfbt/libmfbt.a -lm -ldl TestBloomFilter /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/TestBloomFilter.pp --target TestBloomFilter --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -o TestBloomFilter TestBloomFilter.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ../../mfbt/libmfbt.a -lm -ldl TestCasting /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/TestCasting.pp --target TestCasting --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -o TestCasting TestCasting.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ../../mfbt/libmfbt.a -lm -ldl TestCeilingFloor /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/TestCeilingFloor.pp --target TestCeilingFloor --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -o TestCeilingFloor TestCeilingFloor.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ../../mfbt/libmfbt.a -lm -ldl TestCheckedInt /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/TestCheckedInt.pp --target TestCheckedInt --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -o TestCheckedInt TestCheckedInt.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ../../mfbt/libmfbt.a -lm -ldl TestCountPopulation /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/TestCountPopulation.pp --target TestCountPopulation --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -o TestCountPopulation TestCountPopulation.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ../../mfbt/libmfbt.a -lm -ldl TestCountZeroes /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/TestCountZeroes.pp --target TestCountZeroes --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -o TestCountZeroes TestCountZeroes.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ../../mfbt/libmfbt.a -lm -ldl TestEndian /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/TestEndian.pp --target TestEndian --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -o TestEndian TestEndian.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ../../mfbt/libmfbt.a -lm -ldl TestEnumSet /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/TestEnumSet.pp --target TestEnumSet --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -o TestEnumSet TestEnumSet.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ../../mfbt/libmfbt.a -lm -ldl TestFloatingPoint /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/TestFloatingPoint.pp --target TestFloatingPoint --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -o TestFloatingPoint TestFloatingPoint.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ../../mfbt/libmfbt.a -lm -ldl TestIntegerPrintfMacros /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/TestIntegerPrintfMacros.pp --target TestIntegerPrintfMacros --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -o TestIntegerPrintfMacros TestIntegerPrintfMacros.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ../../mfbt/libmfbt.a -lm -ldl TestMacroArgs /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/TestMacroArgs.pp --target TestMacroArgs --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -o TestMacroArgs TestMacroArgs.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ../../mfbt/libmfbt.a -lm -ldl TestMacroForEach /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/TestMacroForEach.pp --target TestMacroForEach --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -o TestMacroForEach TestMacroForEach.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ../../mfbt/libmfbt.a -lm -ldl TestRollingMean /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/TestRollingMean.pp --target TestRollingMean --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -o TestRollingMean TestRollingMean.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ../../mfbt/libmfbt.a -lm -ldl TestSHA1 /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/TestSHA1.pp --target TestSHA1 --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -o TestSHA1 TestSHA1.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ../../mfbt/libmfbt.a -lm -ldl TestTypedEnum /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/TestTypedEnum.pp --target TestTypedEnum --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -o TestTypedEnum TestTypedEnum.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ../../mfbt/libmfbt.a -lm -ldl TestTypeTraits /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/TestTypeTraits.pp --target TestTypeTraits --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -o TestTypeTraits TestTypeTraits.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ../../mfbt/libmfbt.a -lm -ldl TestWeakPtr /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/TestWeakPtr.pp --target TestWeakPtr --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -o TestWeakPtr TestWeakPtr.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ../../mfbt/libmfbt.a -lm -ldl TestPoisonArea /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/TestPoisonArea.pp --target TestPoisonArea --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -o TestPoisonArea TestPoisonArea.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ../../mfbt/libmfbt.a -lm -ldl mkdir -p '../../dist/cppunittests/' ../../dist/bin/nsinstall TestAtomics TestBinarySearch TestBloomFilter TestCasting TestCeilingFloor TestCheckedInt TestCountPopulation TestCountZeroes TestEndian TestEnumSet TestFloatingPoint TestIntegerPrintfMacros TestMacroArgs TestMacroForEach TestRollingMean TestSHA1 TestTypedEnum TestTypeTraits TestWeakPtr TestPoisonArea ../../dist/cppunittests ../../dist/bin/nsinstall -R -m 755 'TestAtomics' '../../dist/bin' ../../dist/bin/nsinstall -R -m 755 'TestBinarySearch' '../../dist/bin' ../../dist/bin/nsinstall -R -m 755 'TestBloomFilter' '../../dist/bin' ../../dist/bin/nsinstall -R -m 755 'TestCasting' '../../dist/bin' ../../dist/bin/nsinstall -R -m 755 'TestCeilingFloor' '../../dist/bin' ../../dist/bin/nsinstall -R -m 755 'TestCheckedInt' '../../dist/bin' ../../dist/bin/nsinstall -R -m 755 'TestCountPopulation' '../../dist/bin' ../../dist/bin/nsinstall -R -m 755 'TestCountZeroes' '../../dist/bin' ../../dist/bin/nsinstall -R -m 755 'TestEndian' '../../dist/bin' ../../dist/bin/nsinstall -R -m 755 'TestEnumSet' '../../dist/bin' ../../dist/bin/nsinstall -R -m 755 'TestFloatingPoint' '../../dist/bin' ../../dist/bin/nsinstall -R -m 755 'TestIntegerPrintfMacros' '../../dist/bin' ../../dist/bin/nsinstall -R -m 755 'TestMacroArgs' '../../dist/bin' ../../dist/bin/nsinstall -R -m 755 'TestMacroForEach' '../../dist/bin' ../../dist/bin/nsinstall -R -m 755 'TestRollingMean' '../../dist/bin' ../../dist/bin/nsinstall -R -m 755 'TestSHA1' '../../dist/bin' ../../dist/bin/nsinstall -R -m 755 'TestTypedEnum' '../../dist/bin' ../../dist/bin/nsinstall -R -m 755 'TestTypeTraits' '../../dist/bin' ../../dist/bin/nsinstall -R -m 755 'TestWeakPtr' '../../dist/bin' ../../dist/bin/nsinstall -R -m 755 'TestPoisonArea' '../../dist/bin' make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/mfbt/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python -m mozbuild.action.preprocessor -DVERSION='mozjs_31' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/symverscript.in -o symverscript libjs_static.a rm -f libjs_static.a libjs_static.a.desc /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/libjs_static.a.pp --target libjs_static.a --extract -- ar crs libjs_static.a RegExp.o Parser.o jsarray.o jsatom.o jsmath.o jsutil.o ExecutableAllocatorPosix.o OSAllocatorPosix.o MacroAssemblerX86Common.o YarrJIT.o pm_linux.o ExecutableAllocator.o Eval.o Intl.o MapObject.o Object.o Profilers.o SIMD.o TestingFunctions.o TypedObject.o sharkctl.o LifoAlloc.o BytecodeCompiler.o BytecodeEmitter.o FoldConstants.o NameFunctions.o ParseMaps.o ParseNode.o TokenStream.o Barrier.o Iteration.o Marking.o Memory.o Nursery.o RootMarking.o Statistics.o StoreBuffer.o Tracer.o Verifier.o Zone.o AliasAnalysis.o AsmJS.o AsmJSLink.o AsmJSModule.o AsmJSSignalHandlers.o BacktrackingAllocator.o Bailouts.o BaselineBailouts.o BaselineCompiler.o BaselineDebugModeOSR.o BaselineFrame.o BaselineFrameInfo.o BaselineIC.o BaselineInspector.o BaselineJIT.o BitSet.o BytecodeAnalysis.o C1Spewer.o CodeGenerator.o CompileWrappers.o EdgeCaseAnalysis.o EffectiveAddressAnalysis.o Ion.o IonAnalysis.o IonBuilder.o IonCaches.o IonFrames.o IonMacroAssembler.o IonOptimizationLevels.o IonSpewer.o JSONSpewer.o JitOptions.o LICM.o LIR.o LinearScan.o LiveRangeAllocator.o Lowering.o MCallOptimize.o MIR.o MIRGraph.o MoveResolver.o ParallelFunctions.o ParallelSafetyAnalysis.o PerfSpewer.o RangeAnalysis.o Recover.o RegisterAllocator.o RematerializedFrame.o Safepoints.o Snapshots.o StupidAllocator.o TypeDescrSet.o TypePolicy.o UnreachableCodeElimination.o VMFunctions.o ValueNumbering.o Assembler-x86-shared.o BaselineCompiler-shared.o BaselineCompiler-x86-shared.o BaselineIC-x86-shared.o CodeGenerator-shared.o CodeGenerator-x86-shared.o Lowering-shared.o Lowering-x86-shared.o MacroAssembler-x86-shared.o MoveEmitter-x86-shared.o Assembler-x64.o Bailouts-x64.o BaselineCompiler-x64.o BaselineIC-x64.o CodeGenerator-x64.o Lowering-x64.o MacroAssembler-x64.o Trampoline-x64.o jsalloc.o jsanalyze.o jsapi.o jsbool.o jscntxt.o jscompartment.o jscrashreport.o jsdate.o jsdtoa.o jsexn.o jsfriendapi.o jsfun.o jsgc.o jsinfer.o jsiter.o jsnativestack.o jsnum.o jsobj.o json.o jsonparser.o jsopcode.o jsprf.o jspropertytree.o jsproxy.o jsreflect.o jsscript.o jsstr.o jswatchpoint.o jsweakmap.o jsworkers.o jswrapper.o jsperf.o prmjtime.o ArgumentsObject.o ArrayBufferObject.o CallNonGenericMethod.o CharacterEncoding.o Compression.o DateTime.o Debugger.o DebuggerMemory.o ErrorObject.o ForkJoin.o GlobalObject.o Id.o Interpreter.o MemoryMetrics.o Monitor.o ObjectImpl.o OldDebugAPI.o PIC.o Probes.o PropertyKey.o ProxyObject.o RegExpObject.o RegExpStatics.o Runtime.o SPSProfiler.o SavedStacks.o ScopeObject.o SelfHosting.o Shape.o SharedArrayObject.o Stack.o String.o StringBuffer.o StructuredClone.o ThreadPool.o TypedArrayObject.o Unicode.o Value.o WeakMapPtr.o Xdr.o PageBlock.o YarrCanonicalizeUCS2.o YarrInterpreter.o YarrPattern.o YarrSyntaxChecker.o ../../mfbt/libmfbt.a libjs_static.a.desc /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_gen.py --depend .deps/libjs_static.a.desc.pp -o libjs_static.a.desc RegExp.o Parser.o jsarray.o jsatom.o jsmath.o jsutil.o ExecutableAllocatorPosix.o OSAllocatorPosix.o MacroAssemblerX86Common.o YarrJIT.o pm_linux.o ExecutableAllocator.o Eval.o Intl.o MapObject.o Object.o Profilers.o SIMD.o TestingFunctions.o TypedObject.o sharkctl.o LifoAlloc.o BytecodeCompiler.o BytecodeEmitter.o FoldConstants.o NameFunctions.o ParseMaps.o ParseNode.o TokenStream.o Barrier.o Iteration.o Marking.o Memory.o Nursery.o RootMarking.o Statistics.o StoreBuffer.o Tracer.o Verifier.o Zone.o AliasAnalysis.o AsmJS.o AsmJSLink.o AsmJSModule.o AsmJSSignalHandlers.o BacktrackingAllocator.o Bailouts.o BaselineBailouts.o BaselineCompiler.o BaselineDebugModeOSR.o BaselineFrame.o BaselineFrameInfo.o BaselineIC.o BaselineInspector.o BaselineJIT.o BitSet.o BytecodeAnalysis.o C1Spewer.o CodeGenerator.o CompileWrappers.o EdgeCaseAnalysis.o EffectiveAddressAnalysis.o Ion.o IonAnalysis.o IonBuilder.o IonCaches.o IonFrames.o IonMacroAssembler.o IonOptimizationLevels.o IonSpewer.o JSONSpewer.o JitOptions.o LICM.o LIR.o LinearScan.o LiveRangeAllocator.o Lowering.o MCallOptimize.o MIR.o MIRGraph.o MoveResolver.o ParallelFunctions.o ParallelSafetyAnalysis.o PerfSpewer.o RangeAnalysis.o Recover.o RegisterAllocator.o RematerializedFrame.o Safepoints.o Snapshots.o StupidAllocator.o TypeDescrSet.o TypePolicy.o UnreachableCodeElimination.o VMFunctions.o ValueNumbering.o Assembler-x86-shared.o BaselineCompiler-shared.o BaselineCompiler-x86-shared.o BaselineIC-x86-shared.o CodeGenerator-shared.o CodeGenerator-x86-shared.o Lowering-shared.o Lowering-x86-shared.o MacroAssembler-x86-shared.o MoveEmitter-x86-shared.o Assembler-x64.o Bailouts-x64.o BaselineCompiler-x64.o BaselineIC-x64.o CodeGenerator-x64.o Lowering-x64.o MacroAssembler-x64.o Trampoline-x64.o jsalloc.o jsanalyze.o jsapi.o jsbool.o jscntxt.o jscompartment.o jscrashreport.o jsdate.o jsdtoa.o jsexn.o jsfriendapi.o jsfun.o jsgc.o jsinfer.o jsiter.o jsnativestack.o jsnum.o jsobj.o json.o jsonparser.o jsopcode.o jsprf.o jspropertytree.o jsproxy.o jsreflect.o jsscript.o jsstr.o jswatchpoint.o jsweakmap.o jsworkers.o jswrapper.o jsperf.o prmjtime.o ArgumentsObject.o ArrayBufferObject.o CallNonGenericMethod.o CharacterEncoding.o Compression.o DateTime.o Debugger.o DebuggerMemory.o ErrorObject.o ForkJoin.o GlobalObject.o Id.o Interpreter.o MemoryMetrics.o Monitor.o ObjectImpl.o OldDebugAPI.o PIC.o Probes.o PropertyKey.o ProxyObject.o RegExpObject.o RegExpStatics.o Runtime.o SPSProfiler.o SavedStacks.o ScopeObject.o SelfHosting.o Shape.o SharedArrayObject.o Stack.o String.o StringBuffer.o StructuredClone.o ThreadPool.o TypedArrayObject.o Unicode.o Value.o WeakMapPtr.o Xdr.o PageBlock.o YarrCanonicalizeUCS2.o YarrInterpreter.o YarrPattern.o YarrSyntaxChecker.o ../../mfbt/libmfbt.a libmozjs-31.so rm -f libmozjs-31.so /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/libmozjs-31.so.pp --target libmozjs-31.so --uselist -- c++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -fPIC -shared -Wl,-z,defs -Wl,-h,libmozjs-31.so -o libmozjs-31.so RegExp.o Parser.o jsarray.o jsatom.o jsmath.o jsutil.o ExecutableAllocatorPosix.o OSAllocatorPosix.o MacroAssemblerX86Common.o YarrJIT.o pm_linux.o ExecutableAllocator.o Eval.o Intl.o MapObject.o Object.o Profilers.o SIMD.o TestingFunctions.o TypedObject.o sharkctl.o LifoAlloc.o BytecodeCompiler.o BytecodeEmitter.o FoldConstants.o NameFunctions.o ParseMaps.o ParseNode.o TokenStream.o Barrier.o Iteration.o Marking.o Memory.o Nursery.o RootMarking.o Statistics.o StoreBuffer.o Tracer.o Verifier.o Zone.o AliasAnalysis.o AsmJS.o AsmJSLink.o AsmJSModule.o AsmJSSignalHandlers.o BacktrackingAllocator.o Bailouts.o BaselineBailouts.o BaselineCompiler.o BaselineDebugModeOSR.o BaselineFrame.o BaselineFrameInfo.o BaselineIC.o BaselineInspector.o BaselineJIT.o BitSet.o BytecodeAnalysis.o C1Spewer.o CodeGenerator.o CompileWrappers.o EdgeCaseAnalysis.o EffectiveAddressAnalysis.o Ion.o IonAnalysis.o IonBuilder.o IonCaches.o IonFrames.o IonMacroAssembler.o IonOptimizationLevels.o IonSpewer.o JSONSpewer.o JitOptions.o LICM.o LIR.o LinearScan.o LiveRangeAllocator.o Lowering.o MCallOptimize.o MIR.o MIRGraph.o MoveResolver.o ParallelFunctions.o ParallelSafetyAnalysis.o PerfSpewer.o RangeAnalysis.o Recover.o RegisterAllocator.o RematerializedFrame.o Safepoints.o Snapshots.o StupidAllocator.o TypeDescrSet.o TypePolicy.o UnreachableCodeElimination.o VMFunctions.o ValueNumbering.o Assembler-x86-shared.o BaselineCompiler-shared.o BaselineCompiler-x86-shared.o BaselineIC-x86-shared.o CodeGenerator-shared.o CodeGenerator-x86-shared.o Lowering-shared.o Lowering-x86-shared.o MacroAssembler-x86-shared.o MoveEmitter-x86-shared.o Assembler-x64.o Bailouts-x64.o BaselineCompiler-x64.o BaselineIC-x64.o CodeGenerator-x64.o Lowering-x64.o MacroAssembler-x64.o Trampoline-x64.o jsalloc.o jsanalyze.o jsapi.o jsbool.o jscntxt.o jscompartment.o jscrashreport.o jsdate.o jsdtoa.o jsexn.o jsfriendapi.o jsfun.o jsgc.o jsinfer.o jsiter.o jsnativestack.o jsnum.o jsobj.o json.o jsonparser.o jsopcode.o jsprf.o jspropertytree.o jsproxy.o jsreflect.o jsscript.o jsstr.o jswatchpoint.o jsweakmap.o jsworkers.o jswrapper.o jsperf.o prmjtime.o ArgumentsObject.o ArrayBufferObject.o CallNonGenericMethod.o CharacterEncoding.o Compression.o DateTime.o Debugger.o DebuggerMemory.o ErrorObject.o ForkJoin.o GlobalObject.o Id.o Interpreter.o MemoryMetrics.o Monitor.o ObjectImpl.o OldDebugAPI.o PIC.o Probes.o PropertyKey.o ProxyObject.o RegExpObject.o RegExpStatics.o Runtime.o SPSProfiler.o SavedStacks.o ScopeObject.o SelfHosting.o Shape.o SharedArrayObject.o Stack.o String.o StringBuffer.o StructuredClone.o ThreadPool.o TypedArrayObject.o Unicode.o Value.o WeakMapPtr.o Xdr.o PageBlock.o YarrCanonicalizeUCS2.o YarrInterpreter.o YarrPattern.o YarrSyntaxChecker.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/lib ../../mfbt/libmfbt.a -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,-version-script,symverscript -licui18n -licuuc -licudata -lm -ldl -lm -lz -ldl chmod +x libmozjs-31.so ../../dist/bin/nsinstall -R -m 644 'libjs_static.a' '../../dist/lib' ../../dist/bin/nsinstall -R -m 644 'libjs_static.a.desc' '../../dist/lib' ../../dist/bin/nsinstall -R -m 644 'libmozjs-31.so' '../../dist/bin' ../../dist/bin/nsinstall -R -m 644 'libmozjs-31.so' '../../dist/lib' ../../dist/bin/nsinstall -R -m 644 'libmozjs-31.so' '../../dist/sdk/lib' ../../dist/bin/nsinstall -R -m 755 'host_jskwgen' '../../dist/host/bin' make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/shell' js /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/js.pp --target js --uselist -- c++ -o js -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer js.o jsheaptools.o jsoptparse.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../../dist/bin -Wl,-rpath-link,/usr/lib -L../../../dist/bin -L../../../dist/lib -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lreadline ../libjs_static.a -lz -lm -ldl -lffi -licui18n -licuuc -licudata rm -f '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/shell/js-gdb.py' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python -m mozbuild.action.preprocessor --depend .deps/js-gdb.py.pp -Dtopsrcdir=/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -DJS_STANDALONE='1' -DMOZILLA_VERSION='"31.2.0esr"' -DMOZILLA_VERSION_U='31.2.0esr' -DMOZILLA_UAVERSION='"31.0"' -DMOZJS_MAJOR_VERSION='31' -DMOZJS_MINOR_VERSION='2' -DX_DISPLAY_MISSING='1' -DHAVE_64BIT_OS='1' -DD_INO='d_ino' -DJS_CPU_X64='1' -DJS_PUNBOX64='1' -DJS_ION='1' -DENABLE_YARR_JIT='1' -DMOZ_DEBUG_SYMBOLS='1' -DSTDC_HEADERS='1' -DHAVE_SSIZE_T='1' -DHAVE_ST_BLKSIZE='1' -DHAVE_SIGINFO_T='1' -DHAVE_ENDIAN_H='1' -DJS_HAVE_ENDIAN_H='1' -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE='1' -DHAVE_VISIBILITY_ATTRIBUTE='1' -DHAVE_DIRENT_H='1' -DHAVE_GETOPT_H='1' -DHAVE_SYS_BITYPES_H='1' -DHAVE_MEMORY_H='1' -DHAVE_UNISTD_H='1' -DHAVE_GNU_LIBC_VERSION_H='1' -DHAVE_NL_TYPES_H='1' -DHAVE_MALLOC_H='1' -DHAVE_CPUID_H='1' -DHAVE_SYS_STATVFS_H='1' -DHAVE_SYS_STATFS_H='1' -DHAVE_SYS_VFS_H='1' -DHAVE_SYS_MOUNT_H='1' -DHAVE_SYS_QUOTA_H='1' -DHAVE_LINUX_QUOTA_H='1' -DHAVE_SYS_CDEFS_H='1' -DHAVE_DLOPEN='1' -D_REENTRANT='1' -DHAVE_GETC_UNLOCKED='1' -DHAVE_LOCALTIME_R='1' -DHAVE_LIBM='1' -DHAVE_LOG2='1' -DHAVE_LOG1P='1' -DHAVE_EXPM1='1' -DHAVE_ACOSH='1' -DHAVE_ASINH='1' -DHAVE_ATANH='1' -DHAVE_TRUNC='1' -DHAVE_CBRT='1' -DHAVE_WCRTOMB='1' -DHAVE_MBRTOWC='1' -DHAVE_RES_NINIT='1' -DHAVE_LANGINFO_CODESET='1' -DVA_COPY='va_copy' -DHAVE_VA_COPY='1' -DHAVE_VA_LIST_AS_ARRAY='1' -DHAVE_CPP_AMBIGUITY_RESOLVING_USING='1' -DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR='1' -DHAVE_THREAD_TLS_KEYWORD='1' -DHAVE_I18N_LC_MESSAGES='1' -DHAVE_LOCALECONV='1' -DNS_ATTR_MALLOC='__attribute__((malloc))' -DNS_WARN_UNUSED_RESULT='__attribute__((warn_unused_result))' -DMOZ_UPDATE_CHANNEL='default' -DRELEASE_BUILD='1' -DJS_THREADSAFE='1' -DJSGC_INCREMENTAL='1' -DJSGC_GENERATIONAL='1' -DJSGC_USE_EXACT_ROOTING='1' -DJS_CODEGEN_X64='1' -DHAVE___CXA_DEMANGLE='1' -DJS_DEFAULT_JITREPORT_GRANULARITY='3' -DHAVE_TM_ZONE_TM_GMTOFF='1' -DCPP_THROW_NEW='throw()' -DEDITLINE='1' -DMOZ_DLL_SUFFIX='".so"' -DHAVE_POSIX_FADVISE='1' -DHAVE_POSIX_FALLOCATE='1' -DXP_UNIX='1' -DHAVE_SETLOCALE='1' -DHAVE_LOCALECONV='1' -DNDEBUG -DTRIMMED '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js-gdb.py.in' -o '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/shell/js-gdb.py' ../../../dist/bin/nsinstall -R -m 644 '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/shell/js-gdb.py' '../../../dist/bin' ../../../dist/bin/nsinstall -R -m 644 '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/shell/js-gdb.gdb' '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/shell' ../../../dist/bin/nsinstall -R -m 755 'js' '../../../dist/bin' ../../../dist/bin/nsinstall -R -m 755 js .. make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/jsapi-tests' jsapi-tests /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/jsapi-tests.pp --target jsapi-tests --uselist -- c++ -o jsapi-tests -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer selfTest.o testAddPropertyPropcache.o testArgumentsObject.o testArrayBuffer.o testBindCallable.o testBug604087.o testCallNonGenericMethodOnProxy.o testChromeBuffer.o testClassGetter.o testCloneScript.o testConservativeGC.o testContexts.o testCustomIterator.o testDebugger.o testDeepFreeze.o testDefineGetterSetterNonEnumerable.o testDefineProperty.o testEnclosingFunction.o testErrorCopying.o testException.o testExternalStrings.o testFindSCCs.o testFreshGlobalEvalRedefinition.o testFuncCallback.o testFunctionProperties.o testGCExactRooting.o testGCFinalizeCallback.o testGCHeapPostBarriers.o testGCOutOfMemory.o testGCStoreBufferRemoval.o testHashTable.o testHashTableInit.o testIndexToString.o testIntString.o testIntTypesABI.o testIntern.o testIsInsideNursery.o testJSEvaluateScript.o testJitRValueAlloc.o testLookup.o testLooselyEqual.o testMappedArrayBuffer.o testNewObject.o testNullRoot.o testOOM.o testObjectEmulatingUndefined.o testOps.o testOriginPrincipals.o testParseJSON.o testPersistentRooted.o testProfileStrings.o testPropCache.o testRegExp.o testResolveRecursion.o testSameValue.o testScriptInfo.o testScriptObject.o testSetProperty.o testSetPropertyIgnoringNamedGetter.o testSourcePolicy.o testStringBuffer.o testStructuredClone.o testToIntWidth.o testTrap.o testTypedArrays.o testUTF8.o testUncaughtError.o testXDR.o tests.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../../dist/bin -Wl,-rpath-link,/usr/lib -L../../../dist/bin -L../../../dist/lib ../libjs_static.a -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lz -lm -ldl -licui18n -licuuc -licudata -lffi ../../../dist/bin/nsinstall -R -m 755 'jsapi-tests' '../../../dist/bin' rm -f '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/jsapi-tests/jsapi-tests-gdb.py' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python -m mozbuild.action.preprocessor --depend .deps/jsapi-tests-gdb.py.pp -Dtopsrcdir=/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -DJS_STANDALONE='1' -DMOZILLA_VERSION='"31.2.0esr"' -DMOZILLA_VERSION_U='31.2.0esr' -DMOZILLA_UAVERSION='"31.0"' -DMOZJS_MAJOR_VERSION='31' -DMOZJS_MINOR_VERSION='2' -DX_DISPLAY_MISSING='1' -DHAVE_64BIT_OS='1' -DD_INO='d_ino' -DJS_CPU_X64='1' -DJS_PUNBOX64='1' -DJS_ION='1' -DENABLE_YARR_JIT='1' -DMOZ_DEBUG_SYMBOLS='1' -DSTDC_HEADERS='1' -DHAVE_SSIZE_T='1' -DHAVE_ST_BLKSIZE='1' -DHAVE_SIGINFO_T='1' -DHAVE_ENDIAN_H='1' -DJS_HAVE_ENDIAN_H='1' -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE='1' -DHAVE_VISIBILITY_ATTRIBUTE='1' -DHAVE_DIRENT_H='1' -DHAVE_GETOPT_H='1' -DHAVE_SYS_BITYPES_H='1' -DHAVE_MEMORY_H='1' -DHAVE_UNISTD_H='1' -DHAVE_GNU_LIBC_VERSION_H='1' -DHAVE_NL_TYPES_H='1' -DHAVE_MALLOC_H='1' -DHAVE_CPUID_H='1' -DHAVE_SYS_STATVFS_H='1' -DHAVE_SYS_STATFS_H='1' -DHAVE_SYS_VFS_H='1' -DHAVE_SYS_MOUNT_H='1' -DHAVE_SYS_QUOTA_H='1' -DHAVE_LINUX_QUOTA_H='1' -DHAVE_SYS_CDEFS_H='1' -DHAVE_DLOPEN='1' -D_REENTRANT='1' -DHAVE_GETC_UNLOCKED='1' -DHAVE_LOCALTIME_R='1' -DHAVE_LIBM='1' -DHAVE_LOG2='1' -DHAVE_LOG1P='1' -DHAVE_EXPM1='1' -DHAVE_ACOSH='1' -DHAVE_ASINH='1' -DHAVE_ATANH='1' -DHAVE_TRUNC='1' -DHAVE_CBRT='1' -DHAVE_WCRTOMB='1' -DHAVE_MBRTOWC='1' -DHAVE_RES_NINIT='1' -DHAVE_LANGINFO_CODESET='1' -DVA_COPY='va_copy' -DHAVE_VA_COPY='1' -DHAVE_VA_LIST_AS_ARRAY='1' -DHAVE_CPP_AMBIGUITY_RESOLVING_USING='1' -DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR='1' -DHAVE_THREAD_TLS_KEYWORD='1' -DHAVE_I18N_LC_MESSAGES='1' -DHAVE_LOCALECONV='1' -DNS_ATTR_MALLOC='__attribute__((malloc))' -DNS_WARN_UNUSED_RESULT='__attribute__((warn_unused_result))' -DMOZ_UPDATE_CHANNEL='default' -DRELEASE_BUILD='1' -DJS_THREADSAFE='1' -DJSGC_INCREMENTAL='1' -DJSGC_GENERATIONAL='1' -DJSGC_USE_EXACT_ROOTING='1' -DJS_CODEGEN_X64='1' -DHAVE___CXA_DEMANGLE='1' -DJS_DEFAULT_JITREPORT_GRANULARITY='3' -DHAVE_TM_ZONE_TM_GMTOFF='1' -DCPP_THROW_NEW='throw()' -DEDITLINE='1' -DMOZ_DLL_SUFFIX='".so"' -DHAVE_POSIX_FADVISE='1' -DHAVE_POSIX_FALLOCATE='1' -DXP_UNIX='1' -DHAVE_SETLOCALE='1' -DHAVE_LOCALECONV='1' -DNDEBUG -DTRIMMED '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/jsapi-tests/jsapi-tests-gdb.py.in' -o '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/jsapi-tests/jsapi-tests-gdb.py' make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/jsapi-tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/tests' mkdir -p '.deps/' make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/gdb' gdb-tests /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python /usr/src/RPM/BUILD/libmozjs31-31.2.0/config/expandlibs_exec.py --depend .deps/gdb-tests.pp --target gdb-tests --uselist -- c++ -o gdb-tests -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fpermissive -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer gdb-tests.o test-JSObject.o test-JSString.o test-Root.o test-jsid.o test-jsval.o test-prettyprinters.o typedef-printers.o -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/build/unix/gold -Wl,-rpath-link,../../../dist/bin -Wl,-rpath-link,/usr/lib -L../../../dist/bin -L../../../dist/lib ../libjs_static.a -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lz -lm -ldl -licui18n -licuuc -licudata -lffi rm -f '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/gdb/gdb-tests-gdb.py' /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python -m mozbuild.action.preprocessor --depend .deps/gdb-tests-gdb.py.pp -Dtopsrcdir=/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src -DEXPORT_JS_API -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -DJS_STANDALONE='1' -DMOZILLA_VERSION='"31.2.0esr"' -DMOZILLA_VERSION_U='31.2.0esr' -DMOZILLA_UAVERSION='"31.0"' -DMOZJS_MAJOR_VERSION='31' -DMOZJS_MINOR_VERSION='2' -DX_DISPLAY_MISSING='1' -DHAVE_64BIT_OS='1' -DD_INO='d_ino' -DJS_CPU_X64='1' -DJS_PUNBOX64='1' -DJS_ION='1' -DENABLE_YARR_JIT='1' -DMOZ_DEBUG_SYMBOLS='1' -DSTDC_HEADERS='1' -DHAVE_SSIZE_T='1' -DHAVE_ST_BLKSIZE='1' -DHAVE_SIGINFO_T='1' -DHAVE_ENDIAN_H='1' -DJS_HAVE_ENDIAN_H='1' -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE='1' -DHAVE_VISIBILITY_ATTRIBUTE='1' -DHAVE_DIRENT_H='1' -DHAVE_GETOPT_H='1' -DHAVE_SYS_BITYPES_H='1' -DHAVE_MEMORY_H='1' -DHAVE_UNISTD_H='1' -DHAVE_GNU_LIBC_VERSION_H='1' -DHAVE_NL_TYPES_H='1' -DHAVE_MALLOC_H='1' -DHAVE_CPUID_H='1' -DHAVE_SYS_STATVFS_H='1' -DHAVE_SYS_STATFS_H='1' -DHAVE_SYS_VFS_H='1' -DHAVE_SYS_MOUNT_H='1' -DHAVE_SYS_QUOTA_H='1' -DHAVE_LINUX_QUOTA_H='1' -DHAVE_SYS_CDEFS_H='1' -DHAVE_DLOPEN='1' -D_REENTRANT='1' -DHAVE_GETC_UNLOCKED='1' -DHAVE_LOCALTIME_R='1' -DHAVE_LIBM='1' -DHAVE_LOG2='1' -DHAVE_LOG1P='1' -DHAVE_EXPM1='1' -DHAVE_ACOSH='1' -DHAVE_ASINH='1' -DHAVE_ATANH='1' -DHAVE_TRUNC='1' -DHAVE_CBRT='1' -DHAVE_WCRTOMB='1' -DHAVE_MBRTOWC='1' -DHAVE_RES_NINIT='1' -DHAVE_LANGINFO_CODESET='1' -DVA_COPY='va_copy' -DHAVE_VA_COPY='1' -DHAVE_VA_LIST_AS_ARRAY='1' -DHAVE_CPP_AMBIGUITY_RESOLVING_USING='1' -DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR='1' -DHAVE_THREAD_TLS_KEYWORD='1' -DHAVE_I18N_LC_MESSAGES='1' -DHAVE_LOCALECONV='1' -DNS_ATTR_MALLOC='__attribute__((malloc))' -DNS_WARN_UNUSED_RESULT='__attribute__((warn_unused_result))' -DMOZ_UPDATE_CHANNEL='default' -DRELEASE_BUILD='1' -DJS_THREADSAFE='1' -DJSGC_INCREMENTAL='1' -DJSGC_GENERATIONAL='1' -DJSGC_USE_EXACT_ROOTING='1' -DJS_CODEGEN_X64='1' -DHAVE___CXA_DEMANGLE='1' -DJS_DEFAULT_JITREPORT_GRANULARITY='3' -DHAVE_TM_ZONE_TM_GMTOFF='1' -DCPP_THROW_NEW='throw()' -DEDITLINE='1' -DMOZ_DLL_SUFFIX='".so"' -DHAVE_POSIX_FADVISE='1' -DHAVE_POSIX_FALLOCATE='1' -DXP_UNIX='1' -DHAVE_SETLOCALE='1' -DHAVE_LOCALECONV='1' -DNDEBUG -DTRIMMED '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/gdb/gdb-tests-gdb.py.in' -o '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/gdb/gdb-tests-gdb.py' ../../../dist/bin/nsinstall -R -m 644 '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/gdb/gdb-tests-gdb.py' '../../../dist/bin' ../../../dist/bin/nsinstall -R -m 755 'gdb-tests' '../../../dist/bin' make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/gdb' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' make[2]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' mkdir -p '.deps/' make[1]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' make tools make[1]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' make recurse_tools make[2]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/config' make[3]: Nothing to be done for 'tools'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/config' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/python' make[3]: Nothing to be done for 'tools'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/python' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/mfbt' make[3]: Nothing to be done for 'tools'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/mfbt' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/mfbt/tests' make[3]: Nothing to be done for 'tools'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/mfbt/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src' make[3]: Nothing to be done for 'tools'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/shell' make[3]: Nothing to be done for 'tools'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/jsapi-tests' make[3]: Nothing to be done for 'tools'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/jsapi-tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/tests' make[3]: Nothing to be done for 'tools'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/gdb' make[3]: Nothing to be done for 'tools'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/gdb' make[2]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' make: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.50712 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/libmozjs31-buildroot + : + /bin/rm -rf -- /usr/src/tmp/libmozjs31-buildroot + cd libmozjs31-31.2.0 + cd js/src + make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/libmozjs31-buildroot make: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' make -C js/src install make[1]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src' cp js.pc mozjs-31.pc ../../dist/bin/nsinstall -t mozjs-31.pc /usr/src/tmp/libmozjs31-buildroot/usr/lib64/pkgconfig /usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --no-remove /usr/src/tmp/libmozjs31-buildroot/usr/include/mozjs-31 ../../_build_manifests/install/dist_include From /usr/src/tmp/libmozjs31-buildroot/usr/include/mozjs-31: Kept 0 existing; Added/updated 99; Removed 0 files and 0 directories. ../../dist/bin/nsinstall -t js-config /usr/src/tmp/libmozjs31-buildroot/usr/bin ../../dist/bin/nsinstall -t libjs_static.a /usr/src/tmp/libmozjs31-buildroot/usr/lib64 mv -f /usr/src/tmp/libmozjs31-buildroot/usr/lib64/libjs_static.a /usr/src/tmp/libmozjs31-buildroot/usr/lib64/libmozjs-31.a ../../dist/bin/nsinstall -t libmozjs-31.so /usr/src/tmp/libmozjs31-buildroot/usr/lib64 make -C shell install make[2]: Entering directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/shell' ../../../dist/bin/nsinstall -t js /usr/src/tmp/libmozjs31-buildroot/usr/bin make[2]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src/shell' make[1]: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src/js/src' make: Leaving directory '/usr/src/RPM/BUILD/libmozjs31-31.2.0/js/src' + chmod a-x /usr/src/tmp/libmozjs31-buildroot//usr/lib64/pkgconfig/mozjs-31.pc + set +x + cp -p js/src/js-config.h /usr/src/tmp/libmozjs31-buildroot//usr/include/mozjs-31 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/libmozjs31-buildroot (auto) mode of './usr/lib64/libmozjs-31.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/libmozjs-31.a' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/libmozjs31-buildroot (binconfig,pkgconfig,libtool,desktop) /usr/bin/js-config: 10c10 < JS_CONFIG_LIBS='-L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lm -ldl ' --- > JS_CONFIG_LIBS=' -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lm -ldl ' /usr/lib64/pkgconfig/mozjs-31.pc: Libs: '-L${libdir} -lmozjs-31' --> '-lmozjs-31' Checking contents of files in /usr/src/tmp/libmozjs31-buildroot/ (default) Compressing files in /usr/src/tmp/libmozjs31-buildroot (auto) Adjusting library links in /usr/src/tmp/libmozjs31-buildroot ./usr/lib64: libmozjs-31.so -> libmozjs-31.so Verifying ELF objects in /usr/src/tmp/libmozjs31-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.51793 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libmozjs31-31.2.0 + tests/jstests.py -d -s --no-progress ../../js/src/js/src/shell/js /usr/src/tmp/rpm-tmp.51793: line 105: tests/jstests.py: No such file or directory + : + exit 0 Processing files: libmozjs31-31.2.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.FeEtJf find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tptLBw find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Provides: libmozjs-31.so()(64bit) = set:oddcX7OAPOZbspfZk0MVYWMaTOwyFdXg0pyKx6MWZsf3rfzUeKOzZdhZK4Ei8dNuyvzdmMEIqdbdwzOhK0dPQ6xPsaxYVNwSi1VigF2ZHy7gjHqTCsa65dB9GRim6dtO8G1G4zjIsK4OLW24Qv1gec5IwoREUGjFxg5Betb7gggZFd50qhKmU2zf0MKUhXgFXrZLm0DgG078IsM5jvwf88BE6Qg4TcK1G1oJ71zwakb1ZgKC40RjQZzzvpENJbjYJO22rQzxK3cVLkHcU339ebvX45oWUUHVL9AZcpTAF6aRu6Fbv4cPDZ6E3qSB3eo0lkxQc1LHUCdihMIMo0Vplap2a0alVzLhY0bwhrezZ1PxZfpHcVZc7zfUfgXkIMZ2lfab0k3AeLm0PzBVbpa0lSZioPw5O5obBvK7BevPHHrZpOJ3kI080u2VfsSvi64GGSCzRGyfV0KoOZ1uQ1Wv4VXGhUhBctZD4Y8b4d1mbXPgjCcXbB8GHxJf6PRcbNi86DYdChIyMqPWZFajK5z9dJxhFxZkaHiv5eEErTq0ykg10vAJNEV7S55ogpDzcZIyYl8DvjtKi70TmV6Ca8w32V19USKOwgXgapA6igxHjaUNzZjZ1r5hgAz47agK4r7xrT9021M99O3cBB1uolrocODpjo7NDEmgHoEvpTtMZ6H3ZHoQanVSrIGWset5m9g0ot19eIpmVzKm8corHzL0dVaXguvGZnXZ8SMEy7PXUux1yZ6q6Zt0kwMhsdO0xPYrAypZz5VB3owICzoOfYgaIvsO9b8kACfJPJ8U6myld4xsrsUwvZy6APkFWMXw8mZFJNJYoNk48mYb8BPlVqUI3iyQC0DCh3E3384OJVm4EwWcc2wBpy07HyzTU9j8PMihATznaAurQZ3bpWwAOYVDbOWcbVepGkTcKmeTRRvqxw7jK5VYsxfZeevF0BIAvN24ZpioqQ8SUUdpWBfpLZwU7Bb3huCSgT7ZLTYQpIZbwZ6hZllQtzO1x6PHwtSORGn3GHmb2dXlcvYoo1JtFraRjnsZwWnjHZwwm8Ee1aSClGi3CctJSiWVQvdxtKzZrz1wQJZydZElOQGOYNEwZwZ8QMZjDdwpVMauEPDtZmwyhIraYkZvhZwYNtPgAb5FHHMSqoLqrCli26YuYffrrdmzT9Ax37KSJK1rHFY3gBHbda88FcD9G9k7qDHtx5Z2pjclI9OUka1UM0XJuka27NIUSVqE5DP1cI4bQDeP9C1PlELv6gYNF8Kja20LfZixpiZvVLu8e33rPDZL0vLxUuPcUV8VPjUsn6dASoP5MsYNmlnmY90R68KtKPyqah3vcOvUb0iA29XwJwzb1PCZ9aMZwTkLe7AZfhGOjHZeuZ6WbkaDGLL1JL2OKQvi5RpmHKLZwFr7Op727ZDdNkkxRO64hvySEDLY5jZcyrCSd3t0KZyfGF1IZBZiQpUbCuTZFR11pXq3nLgRbMMzFbD3brDcIfxcYxD5Dzziz3xzYS0vNHBvMxuQUGI4qgcsEfeNBbaGPv0FnIjgRhjIIxRv35BOU25xFyOUDxg2OVcYSZ4BFjVVBcAN0YrMZyMupA5pNOdH0OjbDP7uZ1f0dFOhZAGvf0IgsSZfQAUtM4T5sZ6mwwws8kaVs1ig24iyiT0BZhbsPQxNHr7xRXuIQ7ZmGl6KZ12MbK4RaqYpE0vlrnQ6gZi7b8o8HYoii5lCMdhtCo29qUbyC3lde1Ag25stb2Ybi0B2LCcU96ZA4piKcZ1btkVcnXBZjiBRrZrlAxexl2JKN8omQDUWryyN4oQ0tEvy0MohSl9ZujHxlz8tBMCoObww3tqHWWgN3ZFxUXcRu2wyMtgIcFk0Sn1GFOjWwucIo7K763VRT6A8mgkMvQZ5tcs2QAqTZygT1EbLbUbRLB0vFje5ChwBirOZ9fpzGjyW8ZmOrrQtvMcUSV0cgsiZgWQZvBqqW5ovgZlbcZzmXiib0hhmbh9dKb3lk5SQgW93H9sKpaRo6pB6Fij7o6t0Vc3AZyYJE6QZgS9WY7p1QP0on32hJdQZKhZJEKUf0yH47UrZIcdDhycB0cvAIhk4wozqkqWVERySU7Xzou29NB3Um78T7UGy8XMxuz2qH0go8ZvvXVO9HYnJW8ZlX0Xvobhmq4cVC3vb9yil6PtmXlnziup8Gxf7nGssfVFuFT0Mapd1Porhkstd4Q4vSf50RU6kQLNEQHjM7NZx4buBztec08r15bgKSHg52Shpao7i0c8kQ0nzjs1zaqlwLaPNyVv1OZmcGNrbGGPYu7hhiLPe26BH3tZgn5XUBIAhSrEZ6vBiUjDJAxm7EfiFXnkCk9rgH6eTAk2JUqPTy86eBwK2a36Fk2sWwbXT7iHU10devA0LEZixhEdeZr410gxtuUjIfIrKP7icotDp3bqWKUj2e1MqFj0RnF24AtCxiShXHwx4Yt0BbmhZkNoFZrvQXUxc42cQwYZkZGc54QYjs5hq16srAIihq8rXNsleRSuWjY9GAHE20V89GwIlEHXcdgPRRx9mBc8G0, libmozjs-31.so(mozjs_31)(64bit) Requires: libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libgcc_s.so.1(GCC_3.4)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libnspr4.so()(64bit) >= set:miZs8Z2UU4r28LVNwZsBo5XD0CycFav595H7zhxapxZvu, libpthread.so.0(GLIBC_2.2.5)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libstdc++.so.6(GLIBCXX_3.4.9)(64bit), libz.so.1()(64bit) >= set:khdWPIUrJuazh01Xf1, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JkurXQ Creating libmozjs31-debuginfo package Processing files: libmozjs31-devel-31.2.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Wmi6ck find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jFu8ZQ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) In file included from /usr/src/tmp/libmozjs31-buildroot/usr/include/mozjs-31/mozilla/FloatingPoint.h:15, from /usr/src/tmp/libmozjs31-buildroot/usr/include/mozjs-31/jsapi.h:12: /usr/src/tmp/libmozjs31-buildroot/usr/include/mozjs-31/mozilla/MathAlgorithms.h:15:10: fatal error: cmath: No such file or directory #include ^~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/libmozjs31-buildroot/usr/include/mozjs-31/jsapi.h: cpp failed, trying c++ mode /usr/src/tmp/libmozjs31-buildroot/usr/include/mozjs-31/mozilla/MSIntTypes.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!" #error "Use this header only with Microsoft Visual C++ compilers!" ^~~~~ cpp.req: WARNING: /usr/src/tmp/libmozjs31-buildroot/usr/include/mozjs-31/mozilla/MSIntTypes.h: cpp failed Provides: pkgconfig(mozjs-31) = 31.2.0esr Requires: libmozjs31 = 31.2.0-alt1, /usr/lib64/libmozjs-31.so, /usr/lib64/pkgconfig Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kLSrOG Processing files: libmozjs31-devel-static-31.2.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bmwKvD find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ywLeiE find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: libmozjs31-devel = 31.2.0-alt1, glibc-devel-static Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8lcQBI Processing files: libmozjs31-tools-31.2.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.67L3wQ find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KgwA72 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) find-requires: FINDPACKAGE-COMMANDS: cat Requires: /bin/sh, /lib64/ld-linux-x86-64.so.2, coreutils, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libgcc_s.so.1(GCC_3.4)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libnspr4.so()(64bit) >= set:mhUP8Y2eeNm0VD73QDHo5Zz1CycCzNdCH8pIu6z2lO2QZJ1, libpthread.so.0(GLIBC_2.2.5)(64bit), libreadline.so.7()(64bit) >= set:nlIfCiwp4, libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libz.so.1()(64bit) >= set:khdWPIUrJuazh01Xf1, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.reqOWm Creating libmozjs31-tools-debuginfo package Processing files: libmozjs31-debuginfo-31.2.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.c3ffrR find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TyGIxs find-requires: running scripts (debuginfo) Provides: debug64(libmozjs-31.so) Requires: libmozjs31 = 31.2.0-alt1, debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libm.so.6), debug64(libnspr4.so), debug64(libpthread.so.0), debug64(libstdc++.so.6), debug64(libz.so.1) Processing files: libmozjs31-tools-debuginfo-31.2.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TtKIB9 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TzG3JU find-requires: running scripts (debuginfo) Requires: libmozjs31-tools = 31.2.0-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libm.so.6), debug64(libnspr4.so), debug64(libpthread.so.0), debug64(libreadline.so.7), debug64(libstdc++.so.6), debug64(libz.so.1) Removing 1 extra deps from libmozjs31-devel due to dependency on libmozjs31 Wrote: /usr/src/RPM/RPMS/x86_64/libmozjs31-31.2.0-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libmozjs31-devel-31.2.0-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libmozjs31-devel-static-31.2.0-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libmozjs31-tools-31.2.0-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libmozjs31-debuginfo-31.2.0-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libmozjs31-tools-debuginfo-31.2.0-alt1.x86_64.rpm 3015.70user 98.20system 1:05:56elapsed 78%CPU (0avgtext+0avgdata 1156628maxresident)k 0inputs+0outputs (0major+21409539minor)pagefaults 0swaps 3040.26user 106.08system 1:06:29elapsed 78%CPU (0avgtext+0avgdata 1156628maxresident)k 424inputs+0outputs (0major+21949620minor)pagefaults 0swaps --- libmozjs31-31.2.0-alt1.x86_64.rpm.repo 2016-12-15 16:24:50.000000000 +0000 +++ libmozjs31-31.2.0-alt1.x86_64.rpm.hasher 2018-11-22 04:46:20.597769694 +0000 @@ -17,3 +17,3 @@ Requires: rpmlib(PayloadIsLzma) -Provides: libmozjs-31.so()(64bit) = set:oddcX7OAPOZbspfZk0MVYWMaTOwyFdXg0pyKx6MWZsf3rfzUeKOzZdhZK4Ei8dNuyvzdmMEIqdbdwzOhK0dPQ6xPsaxYVNwSi1VigF2ZHy7gjHqTCsa65dB9GRim6dtO8G1G4zjIsK4OLW24Qv1gec5IwoREUGjFxg5Betb7gggZFd50qhKmU2zf0MKUhXgFXrZLm0DgG078IsM5jvwf88BE6Qg4TcK1G1oJ71zwakb1ZgKC40RjQZzzvpENJbjYJO22rQzxK3cVLkHcU339ebvX45oWUUHVL9AZcpTAF6aRu6Fbv4cPDZ6E3qSB3eo0lkxQc1LHUCdihMIMo0Vplap2a0alVzLhY0bwhrezZ1PxZfpHcVZc7zfUfgXkIMZ2lfab0k3AeLm0PzBVbpa0lSZioPw5O5obBvK7BevPHHrZpOJ3kI080u2VfsSvi64GGSCzRGyfV0KoOZ1uQ1Wv4VXGhUhBctZD4Y8b4d1mbXPgjCcXbB8GHxJf6PRcbNi86DYdChIyMqPWZFajK5z9dJxhFxZkaHiv5eEErTq0ykg10vAJNEV7S55ogpDzcZIyYl8DvjtKi70TmV6Ca8w32V19USKOwgXgapA6igxHjaUNzZjZ1r5hgAz47agK4r7xrT9021M99O3cBB1uolrocODpjo7NDEmgHoEvpTtMZ6H3ZHoQanVSrIGWset5m9g0ot19eIpmVzKm8corHzL0dVaXguvGZnXZ8SMEy7PXUux1yZ6q6Zt0kwMhsdO0xPYrAypZz5VB3owICzoOfYgaIvsO9b8kACfJPJ8U6myld4xsrsUwvZy6APkFWMXw8mZFJNJYoNk48mYb8BPlVqUI3iyQC0DCh3E3384OJVm4EwWcc2wBpy07HyzTU9j8PMihATznaAurQZ3bpWwAOYVDbOWcbVepGkTcKmeTRRvqxw7jK5VYsxfZeevF0BIAvN24ZpioqQ8SUUdpWBfpLZwU7Bb3huCSgT7ZLTYQpIZbwZ6hZllQtzO1x6PHwtSORGn3GHmb2dXlcvYoo1JtFraRjnsZwWnjHZwwm8Ee1aSClGi3CctJSiWVQvdxtKzZrz1wQJZydZElOQGOYNEwZwZ8QMZjDdwpVMauEPDtZmwyhIraYkZvhZwYNtPgAb5FHHMSqoLqrCli26YuYffrrdmzT9Ax37KSJK1rHFY3gBHbda88FcD9G9k7qDHtx5Z2pjclI9OUka1UM0XJuka27NIUSVqE5DP1cI4bQDeP9C1PlELv6gYNF8Kja20LfZixpiZvVLu8e33rPDZL0vLxUuPcUV8VPjUsn6dASoP5MsYNmlnmY90R68KtKPyqah3vcOvUb0iA29XwJwzb1PCZ9aMZwTkLe7AZfhGOjHZeuZ6WbkaDGLL1JL2OKQvi5RpmHKLZwFr7Op727ZDdNkkxRO64hvySEDLY5jZcyrCSd3t0KZyfGF1IZBZiQpUbCuTZFR11pXq3nLgRbMMzFbD3brDcIfxcYxD5Dzziz3xzYSgkR3ZGBvMxuQUGI4qgcsEfeNBbaGPv0FnIjgRhjIIxRv35BOU25xFyOUDxg2OVcYSZ4BFjVVBcAN0YrMZyMupA5pNOdH0OjbDP7uZ1f0dFOhZAGvf0IgsSZfQAUtM4T5sZ6mwwws8kaVsV0y1I0xAEQdgFvIMdj76LKt4mLXNivUrGl6KZ12MbK4RaqYpE0vlrnQ6gZi7b8o8HYoii5lCMdhtCo29qUbyC3lde1Ag25stb2Ybi0B2LCcU96ZA4piKcZ1btkVcnXBZjiBRrZrlAxexl2JKN8omQDUWryyN4oQ0tEvy0MohSl9ZujHxlz8tBMCoObww3tqHWWgN3ZFxUXcRu2wyMtgIcFk0Sn1GFOjWwucIo7K763VRT6A8mgkMvQZ5tcs2QAqTZygT1EbLbUbRLB0vFje5ChwBirOZ9fpzGjyW8ZmOrrQtvMcUSV0cgsiZgWQZvBqqW5ovgZlbcZzmXiib0hhmbh9dKb3lk5SQgW93H9sKpaRo6pB6Fij7o6t0Vc3AZyYJE6QZgS9WY7p1QP0on32hJdQZKhZJEKUf0yH47UrZIcdDhycB0cvAIhk4wozqkqWVERySU7Xzou29NB3Um78T7UGy8XMxuz2qH0go8ZvvXVO9HYnJW8ZlX0Xvobhmq4cVC3vb9yil6PtmXlnziup8Gxf7nGssfVFuFT0Mapd1Porhkstd4Q4vSf50RU6kQLNEQHjM7NZx4buBztec08r15bgKSHg52Shpao7i0c8kQ0nzjs1zaqlwLaPNyVv1OZmcGNrbGGPYu7hhiLPe26BH3tZgn5XUBIAhSrEZ6vBiUjDJAxm7EfiFXnkCk9rgH6eTAk2JUqPTy86eBwK2a36Fk2sWwbXT7iHU10devA0LEZixhEdeZr410gxtuUjIfIrKP7icotDp3bqWKUj2e1MqFj0RnF24AtCxiShXHwx4Yt0BbmhZkNoFZrvQXUxc42cQwYZkZGc54QYjs5hq16srAIihq8rXNsleRSuWjY9GAHE20V89GwIlEHXcdgPRRx9mBc8G0 +Provides: libmozjs-31.so()(64bit) = set:oddcX7OAPOZbspfZk0MVYWMaTOwyFdXg0pyKx6MWZsf3rfzUeKOzZdhZK4Ei8dNuyvzdmMEIqdbdwzOhK0dPQ6xPsaxYVNwSi1VigF2ZHy7gjHqTCsa65dB9GRim6dtO8G1G4zjIsK4OLW24Qv1gec5IwoREUGjFxg5Betb7gggZFd50qhKmU2zf0MKUhXgFXrZLm0DgG078IsM5jvwf88BE6Qg4TcK1G1oJ71zwakb1ZgKC40RjQZzzvpENJbjYJO22rQzxK3cVLkHcU339ebvX45oWUUHVL9AZcpTAF6aRu6Fbv4cPDZ6E3qSB3eo0lkxQc1LHUCdihMIMo0Vplap2a0alVzLhY0bwhrezZ1PxZfpHcVZc7zfUfgXkIMZ2lfab0k3AeLm0PzBVbpa0lSZioPw5O5obBvK7BevPHHrZpOJ3kI080u2VfsSvi64GGSCzRGyfV0KoOZ1uQ1Wv4VXGhUhBctZD4Y8b4d1mbXPgjCcXbB8GHxJf6PRcbNi86DYdChIyMqPWZFajK5z9dJxhFxZkaHiv5eEErTq0ykg10vAJNEV7S55ogpDzcZIyYl8DvjtKi70TmV6Ca8w32V19USKOwgXgapA6igxHjaUNzZjZ1r5hgAz47agK4r7xrT9021M99O3cBB1uolrocODpjo7NDEmgHoEvpTtMZ6H3ZHoQanVSrIGWset5m9g0ot19eIpmVzKm8corHzL0dVaXguvGZnXZ8SMEy7PXUux1yZ6q6Zt0kwMhsdO0xPYrAypZz5VB3owICzoOfYgaIvsO9b8kACfJPJ8U6myld4xsrsUwvZy6APkFWMXw8mZFJNJYoNk48mYb8BPlVqUI3iyQC0DCh3E3384OJVm4EwWcc2wBpy07HyzTU9j8PMihATznaAurQZ3bpWwAOYVDbOWcbVepGkTcKmeTRRvqxw7jK5VYsxfZeevF0BIAvN24ZpioqQ8SUUdpWBfpLZwU7Bb3huCSgT7ZLTYQpIZbwZ6hZllQtzO1x6PHwtSORGn3GHmb2dXlcvYoo1JtFraRjnsZwWnjHZwwm8Ee1aSClGi3CctJSiWVQvdxtKzZrz1wQJZydZElOQGOYNEwZwZ8QMZjDdwpVMauEPDtZmwyhIraYkZvhZwYNtPgAb5FHHMSqoLqrCli26YuYffrrdmzT9Ax37KSJK1rHFY3gBHbda88FcD9G9k7qDHtx5Z2pjclI9OUka1UM0XJuka27NIUSVqE5DP1cI4bQDeP9C1PlELv6gYNF8Kja20LfZixpiZvVLu8e33rPDZL0vLxUuPcUV8VPjUsn6dASoP5MsYNmlnmY90R68KtKPyqah3vcOvUb0iA29XwJwzb1PCZ9aMZwTkLe7AZfhGOjHZeuZ6WbkaDGLL1JL2OKQvi5RpmHKLZwFr7Op727ZDdNkkxRO64hvySEDLY5jZcyrCSd3t0KZyfGF1IZBZiQpUbCuTZFR11pXq3nLgRbMMzFbD3brDcIfxcYxD5Dzziz3xzYS0vNHBvMxuQUGI4qgcsEfeNBbaGPv0FnIjgRhjIIxRv35BOU25xFyOUDxg2OVcYSZ4BFjVVBcAN0YrMZyMupA5pNOdH0OjbDP7uZ1f0dFOhZAGvf0IgsSZfQAUtM4T5sZ6mwwws8kaVs1ig24iyiT0BZhbsPQxNHr7xRXuIQ7ZmGl6KZ12MbK4RaqYpE0vlrnQ6gZi7b8o8HYoii5lCMdhtCo29qUbyC3lde1Ag25stb2Ybi0B2LCcU96ZA4piKcZ1btkVcnXBZjiBRrZrlAxexl2JKN8omQDUWryyN4oQ0tEvy0MohSl9ZujHxlz8tBMCoObww3tqHWWgN3ZFxUXcRu2wyMtgIcFk0Sn1GFOjWwucIo7K763VRT6A8mgkMvQZ5tcs2QAqTZygT1EbLbUbRLB0vFje5ChwBirOZ9fpzGjyW8ZmOrrQtvMcUSV0cgsiZgWQZvBqqW5ovgZlbcZzmXiib0hhmbh9dKb3lk5SQgW93H9sKpaRo6pB6Fij7o6t0Vc3AZyYJE6QZgS9WY7p1QP0on32hJdQZKhZJEKUf0yH47UrZIcdDhycB0cvAIhk4wozqkqWVERySU7Xzou29NB3Um78T7UGy8XMxuz2qH0go8ZvvXVO9HYnJW8ZlX0Xvobhmq4cVC3vb9yil6PtmXlnziup8Gxf7nGssfVFuFT0Mapd1Porhkstd4Q4vSf50RU6kQLNEQHjM7NZx4buBztec08r15bgKSHg52Shpao7i0c8kQ0nzjs1zaqlwLaPNyVv1OZmcGNrbGGPYu7hhiLPe26BH3tZgn5XUBIAhSrEZ6vBiUjDJAxm7EfiFXnkCk9rgH6eTAk2JUqPTy86eBwK2a36Fk2sWwbXT7iHU10devA0LEZixhEdeZr410gxtuUjIfIrKP7icotDp3bqWKUj2e1MqFj0RnF24AtCxiShXHwx4Yt0BbmhZkNoFZrvQXUxc42cQwYZkZGc54QYjs5hq16srAIihq8rXNsleRSuWjY9GAHE20V89GwIlEHXcdgPRRx9mBc8G0 Provides: libmozjs-31.so(mozjs_31)(64bit) --- libmozjs31-debuginfo-31.2.0-alt1.x86_64.rpm.repo 2016-12-15 16:24:52.000000000 +0000 +++ libmozjs31-debuginfo-31.2.0-alt1.x86_64.rpm.hasher 2018-11-22 04:46:20.685767253 +0000 @@ -87,2 +87,3 @@ /usr/src/debug/libmozjs31-31.2.0/js/src/dist/include/mozilla/PodOperations.h 100644 +/usr/src/debug/libmozjs31-31.2.0/js/src/dist/include/mozilla/Poison.h 100644 /usr/src/debug/libmozjs31-31.2.0/js/src/dist/include/mozilla/Range.h 100644 --- libmozjs31-tools-31.2.0-alt1.x86_64.rpm.repo 2016-12-15 16:24:50.000000000 +0000 +++ libmozjs31-tools-31.2.0-alt1.x86_64.rpm.hasher 2018-11-22 04:46:20.814763674 +0000 @@ -14,3 +14,3 @@ Requires: libpthread.so.0(GLIBC_2.2.5)(64bit) -Requires: libreadline.so.6()(64bit) >= set:nlIfCiwp4 +Requires: libreadline.so.7()(64bit) >= set:nlIfCiwp4 Requires: libstdc++.so.6(CXXABI_1.3)(64bit) --- libmozjs31-tools-debuginfo-31.2.0-alt1.x86_64.rpm.repo 2016-12-15 16:24:51.000000000 +0000 +++ libmozjs31-tools-debuginfo-31.2.0-alt1.x86_64.rpm.hasher 2018-11-22 04:46:20.912760956 +0000 @@ -577,3 +577,3 @@ Requires: debug64(libpthread.so.0) -Requires: debug64(libreadline.so.6) +Requires: debug64(libreadline.so.7) Requires: debug64(libstdc++.so.6)