=> Building lang/spidermonkey170 Started : Friday, 8 MAR 2019 at 16:34:31 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for spidermonkey170-17.0.0_8: DEBUG=off: Build with debugging support DTRACE=off: Build with DTrace probes GCZEAL=off: Enable Zealous garbage collecting JEMALLOC=off: Use jemalloc as memory allocator METHODJIT=on: Enable method JIT support OPTIMIZE=on: Enable compiler optimizations READLINE=on: Link js shell to system readline library THREADSAFE=on: Enable multiple thread support TRACEJIT=on: Enable tracing JIT support UTF8=off: Treat strings as UTF8 instead of ISO-8859-1 ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/construction/lang/spidermonkey170 XDG_CONFIG_HOME=/construction/lang/spidermonkey170 HOME=/construction/lang/spidermonkey170 TMPDIR="/tmp" PATH=/construction/lang/spidermonkey170/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --with-pthreads --with-system-nspr --disable-debug --disable-debug-symbols --disable-dtrace --disable-profiling --disable-gczeal --disable-jemalloc --enable-methodjit --enable-optimize --enable-readline --enable-threadsafe --enable-tracejit --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/lang/spidermonkey170 XDG_CONFIG_HOME=/construction/lang/spidermonkey170 HOME=/construction/lang/spidermonkey170 TMPDIR="/tmp" PATH=/construction/lang/spidermonkey170/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/lang/spidermonkey170/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- DEBUG="@comment " NO_DEBUG="" DTRACE="@comment " NO_DTRACE="" GCZEAL="@comment " NO_GCZEAL="" JEMALLOC="@comment " NO_JEMALLOC="" METHODJIT="" NO_METHODJIT="@comment " OPTIMIZE="" NO_OPTIMIZE="@comment " READLINE="" NO_READLINE="@comment " THREADSAFE="" NO_THREADSAFE="@comment " TRACEJIT="" NO_TRACEJIT="@comment " UTF8="@comment " NO_UTF8="" PYTHON_INCLUDEDIR=include/python2.7 PYTHON_LIBDIR=lib/python2.7 PYTHON_PLATFORM=dragonfly5 PYTHON_PYOEXTENSION=pyo PYTHON_SITELIBDIR=lib/python2.7/site-packages PYTHON_SUFFIX=27 PYTHON_VER=2.7 PYTHON_VERSION=python2.7 PYTHON2="" PYTHON3="@comment " OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.28.1 PERL_VER=5.28 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.28 PROFILE="@comment " DOCSDIR="share/doc/spidermonkey170" EXAMPLESDIR="share/examples/spidermonkey170" DATADIR="share/spidermonkey170" WWWDIR="www/spidermonkey170" ETCDIR="etc/spidermonkey170" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- DEBUG="@comment " NO_DEBUG="" DTRACE="@comment " NO_DTRACE="" GCZEAL="@comment " NO_GCZEAL="" JEMALLOC="@comment " NO_JEMALLOC="" METHODJIT="" NO_METHODJIT="@comment " OPTIMIZE="" NO_OPTIMIZE="@comment " READLINE="" NO_READLINE="@comment " THREADSAFE="" NO_THREADSAFE="@comment " TRACEJIT="" NO_TRACEJIT="@comment " UTF8="@comment " NO_UTF8="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/spidermonkey170 DOCSDIR=/usr/local/share/doc/spidermonkey170 EXAMPLESDIR=/usr/local/share/examples/spidermonkey170 WWWDIR=/usr/local/www/spidermonkey170 ETCDIR=/usr/local/etc/spidermonkey170 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> spidermonkey170-17.0.0_8 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> spidermonkey170-17.0.0_8 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of spidermonkey170-17.0.0_8 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by spidermonkey170-17.0.0_8 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by spidermonkey170-17.0.0_8 for building => SHA256 Checksum OK for mozjs17.0.0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by spidermonkey170-17.0.0_8 for building ===> Extracting for spidermonkey170-17.0.0_8 => SHA256 Checksum OK for mozjs17.0.0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for spidermonkey170-17.0.0_8 ===> Applying ports patches for spidermonkey170-17.0.0_8 ===> Applying dragonfly patches for spidermonkey170-17.0.0_8 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> spidermonkey170-17.0.0_8 depends on executable: zip - not found ===> Installing existing package /packages/All/zip-3.0_1.txz Installing zip-3.0_1... Extracting zip-3.0_1: .......... done ===> spidermonkey170-17.0.0_8 depends on executable: zip - found ===> Returning to build of spidermonkey170-17.0.0_8 ===> spidermonkey170-17.0.0_8 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... `-- Installing gettext-runtime-0.19.8.1_2... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_2: .......... done Extracting gmake-4.2.1_3: .......... done ===> spidermonkey170-17.0.0_8 depends on executable: gmake - found ===> Returning to build of spidermonkey170-17.0.0_8 ===> spidermonkey170-17.0.0_8 depends on file: /usr/local/bin/python2.7 - not found ===> Installing existing package /packages/All/python27-2.7.15.txz Installing python27-2.7.15... `-- Installing expat-2.2.6_1... `-- Extracting expat-2.2.6_1: .......... done `-- Installing libffi-3.2.1_3... `-- Extracting libffi-3.2.1_3: .......... done `-- Installing libressl-2.8.3... `-- Extracting libressl-2.8.3: .......... done `-- Installing ncurses-6.1.20190112... `-- Extracting ncurses-6.1.20190112: .......... done `-- Installing readline-7.0.5... `-- Extracting readline-7.0.5: .......... done Extracting python27-2.7.15: .......... done Message from python27-2.7.15: =========================================================================== Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter =========================================================================== ===> spidermonkey170-17.0.0_8 depends on file: /usr/local/bin/python2.7 - found ===> Returning to build of spidermonkey170-17.0.0_8 ===> spidermonkey170-17.0.0_8 depends on package: perl5>=5.28.r1<5.29 - not found ===> Installing existing package /packages/All/perl5-5.28.1.txz Installing perl5-5.28.1... Extracting perl5-5.28.1: .......... done Message from perl5-5.28.1: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> spidermonkey170-17.0.0_8 depends on package: perl5>=5.28.r1<5.29 - found ===> Returning to build of spidermonkey170-17.0.0_8 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> spidermonkey170-17.0.0_8 depends on shared library: libnspr4.so - not found ===> Installing existing package /packages/All/nspr-4.20.txz Installing nspr-4.20... Extracting nspr-4.20: .......... done ===> spidermonkey170-17.0.0_8 depends on shared library: libnspr4.so - found (/usr/local/lib/libnspr4.so) ===> Returning to build of spidermonkey170-17.0.0_8 ===> spidermonkey170-17.0.0_8 depends on shared library: libreadline.so.7 - found (/usr/local/lib/libreadline.so.7) -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for spidermonkey170-17.0.0_8 configure: warning: x86_64-portbld-dragonfly5.5: invalid host type loading site script /xports/Templates/config.site creating cache ./config.cache checking host system type... x86_64-portbld-dragonfly5.5 checking target system type... x86_64-portbld-dragonfly5.5 checking build system type... x86_64-portbld-dragonfly5.5 checking for gawk... (cached) /usr/bin/awk checking for perl5... (cached) /usr/local/bin/perl checking for gcc... cc checking whether the C compiler (cc -pipe -O2 -fno-strict-aliasing -L/usr/local/lib ) works... yes checking whether the C compiler (cc -pipe -O2 -fno-strict-aliasing -L/usr/local/lib ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ -pipe -O2 -fno-strict-aliasing -L/usr/local/lib ) works... yes checking whether the C++ compiler (c++ -pipe -O2 -fno-strict-aliasing -L/usr/local/lib ) 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... cpp checking how to run the C++ preprocessor... c++ -E checking for sb-conf... no checking for ve... no checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for minimum required perl version >= 5.006... 5.028001 checking for full perl installation... yes checking for /usr/local/bin/python2.7... /usr/local/bin/python2.7 checking for doxygen... : checking for autoconf... : checking for makedepend... no checking for xargs... /usr/bin/xargs checking for gmake... /usr/local/bin/gmake checking for X... no checking that static assertion macros used in autoconf tests work... yes checking whether the C compiler supports -Werror=return-type... 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 -Wno-overlength-strings... yes checking whether the C++ compiler supports -Werror=return-type... 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 -Wno-overlength-strings... yes checking whether the C++ compiler supports -Wno-invalid-offsetof... yes checking whether the C++ compiler supports -Wno-variadic-macros... yes checking whether ld has archive extraction flags... yes checking for 64-bit OS... yes checking for Python version >= 2.5 but not 3.x... yes checking for custom implementation... none specified checking whether the linker supports Identical Code Folding... yes checking for ANSI C header files... (cached) yes checking for working const... yes checking for mode_t... (cached) yes checking for off_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for __stdcall... no checking for ssize_t... (cached) no checking for st_blksize in struct stat... yes checking for siginfo_t... yes checking for the size of void*... 8 checking for the alignment of void*... 8 checking for the size of double... 8 checking for endian.h... no checking for machine/endian.h... yes checking for sys/isa_defs.h... no checking for uint... yes checking for uint_t... no checking for uname.domainname... no checking for uname.__domainname... 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 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... (cached) yes checking for sys/bitypes.h... no checking for memory.h... (cached) yes checking for unistd.h... (cached) yes checking for gnu/libc-version.h... no checking for nl_types.h... yes checking for malloc.h... (cached) no checking for X11/XKBlib.h... no checking for io.h... no checking for cpuid.h... yes checking for sys/statvfs.h... (cached) yes checking for sys/statfs.h... no checking for sys/vfs.h... no checking for sys/mount.h... (cached) yes checking for sys/quota.h... no checking for linux/quota.h... no checking for mmintrin.h... yes checking for new... yes checking for sys/cdefs.h... (cached) yes checking for linux/perf_event.h... no checking for gethostbyname_r in -lc_r... no checking for library containing dlopen... none required checking for dlfcn.h... (cached) yes checking for dladdr... yes checking for socket in -lsocket... no checking for pthread_create in -lpthreads... no checking for pthread_create in -lpthread... yes checking whether cc accepts -pthread... yes checking whether cc needs -traditional... no checking for 8-bit clean memcmp... yes checking for fchmod... (cached) yes checking for flockfile... yes checking for getc_unlocked... yes checking for _getc_nolock... no checking for getpagesize... (cached) yes checking for lchown... yes checking for localtime_r... yes checking for lstat64... no checking for memmove... (cached) yes checking for random... (cached) yes checking for rint... no checking for sbrk... yes checking for snprintf... (cached) yes checking for stat64... no checking for statvfs... (cached) yes checking for statvfs64... no checking for strerror... (cached) yes checking for strtok_r... yes checking for truncate64... no checking for wcrtomb... yes checking for mbrtowc... yes checking for res_ninit()... no checking for gnu_get_libc_version()... no checking for an implementation of va_copy()... yes checking for an implementation of __va_copy()... yes checking whether va_lists can be copied by value... no checking for modern C++ template specialization syntax support... yes checking whether partial template specialization works... yes 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 malloc.h... (cached) no checking for malloc/malloc.h... no checking for sys/malloc.h... yes checking for strndup... (cached) yes checking for posix_memalign... yes checking for memalign... no checking for valloc... 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/local/bin/nspr-config checking for NSPR - version >= 4.9.2... yes checking for gzread in -lz... yes checking for valid optimization flags... yes checking for __cxa_demangle... yes checking for unwind.h... yes checking for _Unwind_Backtrace... yes checking for -pipe support... yes checking whether C compiler supports -fprofile-generate... yes checking whether C++ compiler has -pedantic long long bug... no 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_fallocate... no checking for setlocale... (cached) yes checking for localeconv... (cached) yes updating cache ./config.cache creating ./config.status creating config files and headers... invoking gmake to create js17-config script gmake[1]: Entering directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src' rm -f js17-config.tmp /usr/local/bin/python2.7 ./config/Preprocessor.py -Dprefix="/usr/local" -Dexec_prefix="/usr/local" -Dincludedir="/usr/local/include" -Dlibdir="/usr/local/lib" -DMODULE="js-17.0" -DMOZILLA_VERSION="17.0.4esrpre" -DLIBRARY_NAME="mozjs-17.0" -DJS_CONFIG_LIBS="-L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -ldl -lm -lz -pthread" -DJS_CONFIG_MOZ_JS_LIBS="-L/usr/local/lib -lmozjs-17.0" -DMOZJS_MAJOR_VERSION="17" -DMOZJS_MINOR_VERSION="0" -DMOZJS_PATCH_VERSION="4esrpre" -DMOZJS_ALPHA="" -DNSPR_CFLAGS="-I/usr/local/include/nspr" -DNSPR_PKGCONF_CHECK="nspr >= 4.9.2" js-config.in > js17-config.tmp \ && mv js17-config.tmp js17-config && chmod +x js17-config gmake[1]: Leaving directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src' -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for spidermonkey170-17.0.0_8 gmake[1]: Entering directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src' gmake export gmake[2]: Entering directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src' gmake -C config/ nsinstall gmake[3]: Entering directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/config' nsinstall.c cc -o host_nsinstall.o -c -I/usr/local/include -pedantic -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Wtype-limits -Wempty-body -Wno-unused -Wno-overlength-strings -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -O3 -fomit-frame-pointer -DXP_UNIX -O3 -DUNICODE -D_UNICODE -I../config -I. -I../dist/include -I/usr/local/include/nspr -I/usr/local/include/nspr /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall.c pathsub.c cc -o host_pathsub.o -c -I/usr/local/include -pedantic -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Wtype-limits -Wempty-body -Wno-unused -Wno-overlength-strings -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -O3 -fomit-frame-pointer -DXP_UNIX -O3 -DUNICODE -D_UNICODE -I../config -I. -I../dist/include -I/usr/local/include/nspr -I/usr/local/include/nspr /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/pathsub.c /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/pathsub.c: In function 'reversepath': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/pathsub.c:210:6: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] strncpy(cp, "../", 3); ^~~~~~~~~~~~~~~~~~~~~ cc -o nsinstall -I/usr/local/include -pedantic -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Wtype-limits -Wempty-body -Wno-unused -Wno-overlength-strings -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -O3 -fomit-frame-pointer -DXP_UNIX -O3 -DUNICODE -D_UNICODE -pthread -L/usr/local/lib -Wl,--icf=safe -Wl,-rpath-link,../dist/bin -Wl,-rpath-link,/usr/local/lib host_nsinstall.o host_pathsub.o gmake[3]: Leaving directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/config' mkdir -p /construction/lang/spidermonkey170/mozjs17.0.0/js/src/.deps gmake -C config export gmake[3]: Entering directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/config' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -R nsinstall ../dist/bin mkdir -p system_wrappers_js/ /usr/local/bin/python2.7 ../config/Preprocessor.py -DMOZ_NATIVE_ZLIB=1 -DMOZILLA_VERSION=\"17.0.4esrpre\" -DMOZILLA_VERSION_U=17.0.4esrpre -DMOZILLA_UAVERSION=\"17.0\" -DMOZJS_MAJOR_VERSION=\"17\" -DMOZJS_MINOR_VERSION=\"0\" -DX_DISPLAY_MISSING=1 -DHAVE_64BIT_OS=1 -DD_INO=d_ino -DJS_CPU_X64=1 -DJS_PUNBOX64=1 -DJS_METHODJIT=1 -DJS_MONOIC=1 -DJS_POLYIC=1 -DJS_METHODJIT_TYPED_ARRAY=1 -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DJS_BYTES_PER_WORD=8 -DJS_BITS_PER_WORD_LOG2=6 -DJS_ALIGN_OF_POINTER=8 -DJS_BYTES_PER_DOUBLE=8 -DHAVE_MACHINE_ENDIAN_H=1 -DJS_HAVE_MACHINE_ENDIAN_H=1 -DHAVE_UINT=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_ATTRIBUTE=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_CPUID_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_MMINTRIN_H=1 -DNEW_H=\ -DHAVE_SYS_CDEFS_H=1 -DHAVE_DLOPEN=1 -DHAVE_DLADDR=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_FCHMOD=1 -DHAVE_FLOCKFILE=1 -DHAVE_GETC_UNLOCKED=1 -DHAVE_GETPAGESIZE=1 -DHAVE_LCHOWN=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MEMMOVE=1 -DHAVE_RANDOM=1 -DHAVE_SBRK=1 -DHAVE_SNPRINTF=1 -DHAVE_STATVFS=1 -DHAVE_STRERROR=1 -DHAVE_STRTOK_R=1 -DHAVE_WCRTOMB=1 -DHAVE_MBRTOWC=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_VA_LIST_AS_ARRAY=1 -DHAVE_CPP_PARTIAL_SPECIALIZATION=1 -DHAVE_CPP_AMBIGUITY_RESOLVING_USING=1 -DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DHAVE_THREAD_TLS_KEYWORD=1 -DMALLOC_H=\ -DHAVE_STRNDUP=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_VALLOC=1 -DHAVE_I18N_LC_MESSAGES=1 -DHAVE_LOCALECONV=1 -DNS_ALWAYS_INLINE=__attribute__\(\(always_inline\)\) -DNS_ATTR_MALLOC=__attribute__\(\(malloc\)\) -DNS_WARN_UNUSED_RESULT=__attribute__\(\(warn_unused_result\)\) -DJSGC_INCREMENTAL=1 -DHAVE___CXA_DEMANGLE=1 -DHAVE__UNWIND_BACKTRACE=1 -DJS_DEFAULT_JITREPORT_GRANULARITY=3 -DJS_HAS_XML_SUPPORT=1 -DHAVE_TM_ZONE_TM_GMTOFF=1 -DCPP_THROW_NEW=throw\(\) -DEDITLINE=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DJS_THREADSAFE=1 -DHAVE_SETLOCALE=1 -DHAVE_LOCALECONV=1 \ ../config/system-headers | /usr/local/bin/perl ../config/make-system-wrappers.pl system_wrappers_js /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -R system_wrappers_js ../dist gmake[3]: Leaving directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/config' gmake -C shell export gmake[3]: Entering directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell' mkdir -p /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/.deps gmake[3]: Leaving directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell' gmake -C jsapi-tests export gmake[3]: Entering directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests' mkdir -p /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/.deps gmake[3]: Leaving directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests' gmake -C tests export gmake[3]: Entering directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/tests' gmake[3]: Nothing to be done for 'export'. gmake[3]: Leaving directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/tests' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -R -m 644 js-config.h jscpucfg.h js.msg jsalloc.h jsapi.h jsatom.h jsatom.tbl jsclass.h jsclist.h jsdbgapi.h jsdhash.h jsfriendapi.h jsgc.h jslock.h json.h jsproxy.h jsprf.h jsproto.tbl jsprvtd.h jspubtd.h jstypes.h jsutil.h jsversion.h jswrapper.h jsval.h ./perf/jsperf.h ./dist/include /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -R -m 644 ./ds/BitArray.h ./dist/include/ds /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -R -m 644 ./gc/Barrier.h ./gc/Heap.h ./gc/Root.h ./gc/Statistics.h ./gc/StoreBuffer.h ./dist/include/gc /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -R -m 644 ./../public/HashTable.h ./../public/LegacyIntTypes.h ./../public/MemoryMetrics.h ./../public/RequiredDefines.h ./../public/TemplateLib.h ./../public/Utility.h ./../public/Vector.h ./dist/include/js /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -R -m 644 ./../../mfbt/Assertions.h ./../../mfbt/Attributes.h ./../../mfbt/BloomFilter.h ./../../mfbt/CheckedInt.h ./../../mfbt/Constants.h ./../../mfbt/FloatingPoint.h ./../../mfbt/GuardObjects.h ./../../mfbt/HashFunctions.h ./../../mfbt/Likely.h ./../../mfbt/LinkedList.h ./../../mfbt/MathAlgorithms.h ./../../mfbt/MSStdInt.h ./../../mfbt/NullPtr.h ./../../mfbt/RangedPtr.h ./../../mfbt/RefPtr.h ./../../mfbt/Scoped.h ./../../mfbt/StandardInteger.h ./../../mfbt/SHA1.h ./../../mfbt/ThreadLocal.h ./../../mfbt/TypeTraits.h ./../../mfbt/Types.h ./../../mfbt/Util.h ./../../mfbt/WeakPtr.h ./dist/include/mozilla /usr/local/bin/python2.7 ./builtin/embedjs.py selfhosted.out.h ./js.msg \ ./builtin/macros.py ./builtin/array.js gmake[2]: Leaving directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src' gmake libs gmake[2]: Entering directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src' jskwgen.cpp c++ -o host_jskwgen.o -c -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -I/usr/local/include/nspr /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jskwgen.cpp jsoplengen.cpp c++ -o host_jsoplengen.o -c -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -I/usr/local/include/nspr /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsoplengen.cpp c++ -o host_jsoplengen -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr host_jsoplengen.o ./host_jsoplengen /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsautooplen.h c++ -o host_jskwgen -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr host_jskwgen.o ./host_jskwgen /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsautokw.h bignum-dtoa.cc c++ -o bignum-dtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/bignum-dtoa.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/bignum-dtoa.cc bignum.cc c++ -o bignum.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/bignum.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/bignum.cc cached-powers.cc c++ -o cached-powers.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/cached-powers.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/cached-powers.cc diy-fp.cc c++ -o diy-fp.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/diy-fp.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/diy-fp.cc double-conversion.cc c++ -o double-conversion.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/double-conversion.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/double-conversion.cc fast-dtoa.cc In file included from /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/bignum-dtoa.h:31, from /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/bignum-dtoa.cc:30: /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/utils.h: In function 'Dest double_conversion::BitCast(const Source&)': /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/utils.h:284:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; ^~~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/diy-fp.h:31, from /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/diy-fp.cc:29: /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/utils.h: In function 'Dest double_conversion::BitCast(const Source&)': /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/utils.h:284:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; ^~~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/bignum.h:31, from /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/bignum.cc:28: /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/utils.h: In function 'Dest double_conversion::BitCast(const Source&)': /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/utils.h:284:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; ^~~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/cached-powers.cc:32: /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/utils.h: In function 'Dest double_conversion::BitCast(const Source&)': /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/utils.h:284:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; ^~~~~~~~~~~~~~~~~~~ c++ -o fast-dtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/fast-dtoa.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/fast-dtoa.cc fixed-dtoa.cc In file included from /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/fast-dtoa.h:31, from /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/fast-dtoa.cc:28: /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/utils.h: In function 'Dest double_conversion::BitCast(const Source&)': /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/utils.h:284:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; ^~~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/double-conversion.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/double-conversion.cc:31: /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/utils.h: In function 'Dest double_conversion::BitCast(const Source&)': /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/utils.h:284:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; ^~~~~~~~~~~~~~~~~~~ c++ -o fixed-dtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/fixed-dtoa.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/fixed-dtoa.cc strtod.cc In file included from /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/fixed-dtoa.h:31, from /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/fixed-dtoa.cc:30: /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/utils.h: In function 'Dest double_conversion::BitCast(const Source&)': /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/utils.h:284:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; ^~~~~~~~~~~~~~~~~~~ c++ -o strtod.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/strtod.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/strtod.cc jsalloc.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/strtod.h:31, from /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/strtod.cc:31: /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/utils.h: In function 'Dest double_conversion::BitCast(const Source&)': /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/double-conversion/utils.h:284:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; ^~~~~~~~~~~~~~~~~~~ c++ -o jsalloc.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsalloc.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.cpp jsanalyze.cpp c++ -o jsanalyze.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsanalyze.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp jsapi.cpp c++ -o jsapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsapi.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp jsarray.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o jsarray.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsarray.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp jsatom.cpp c++ -o jsatom.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsatom.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp jsbool.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.h: At global scope: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.h:398:24: warning: inline function 'static void JSString::writeBarrierPost(JSString*, void*)' used but never defined static inline void writeBarrierPost(JSString *str, void *addr); ^~~~~~~~~~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.h:397:24: warning: inline function 'static void JSString::writeBarrierPre(JSString*)' used but never defined static inline void writeBarrierPre(JSString *str); ^~~~~~~~~~~~~~~ c++ -o jsbool.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsbool.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp jsclone.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:23: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:77: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:15: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:78: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:21: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstrinlines.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:32: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstrinlines.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:32: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:103: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:78: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:103: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:78: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:21: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:21: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:21: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxtinlines.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstrinlines.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:32: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxtinlines.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstrinlines.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:32: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:21: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstrinlines.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:32: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstrinlines.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:32: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstrinlines.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:32: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstrinlines.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:32: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstrinlines.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:32: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.cpp:21: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:70: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:70: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:12: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:12: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:75: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:78: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:75: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:78: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:75: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:78: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:75: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:92: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:75: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:92: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:75: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:103: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:75: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:103: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:75: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:103: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:75: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:103: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:75: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:103: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:75: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:78: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:75: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:78: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.cpp:78: ./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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:12: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:12: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:12: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*, size_t) [with T = js::analyze::SSAUseChain; size_t = long unsigned int]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:1405:41: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:195:15: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:44: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:44: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:70: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:70: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:70: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:70: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:70: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:24: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:24: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = JSAtomState]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:868:23: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct JSAtomState' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:224:8: note: 'struct JSAtomState' declared here struct JSAtomState ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o jsclone.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsclone.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp jscntxt.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:29: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:29: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:29: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:29: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:29: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:29: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:29: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:29: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:29: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.cpp:18: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o jscntxt.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jscntxt.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp jscompartment.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarrayinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarrayinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:28: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarrayinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarrayinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarrayinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarrayinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarrayinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarrayinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarrayinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:29: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ ./dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::TempAllocPolicy]': ./dist/include/js/HashTable.h:1168:57: required from 'void js::HashMap::clear() [with Key = JSObject*; Value = unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclone.cpp:587:18: required from here ./dist/include/js/HashTable.h:662:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o jscompartment.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jscompartment.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp jsdate.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h: In function 'JSScript* JS::Compile(JSContext*, JS::HandleObject, JS::CompileOptions, const jschar*, size_t)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:1299:54: warning: 'mava.AutoVersionAPI::cx' may be used uninitialized in this function [-Wmaybe-uninitialized] void clearVersionOverride() { hasVersionOverride = false; } ~~~~~~~~~~~~~~~~~~~^~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:5165:27: note: 'mava.AutoVersionAPI::cx' was declared here Maybe mava; ^~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:1296:24: warning: '*((void*)& mava +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] defaultVersion = version; ~~~~~~~~~~~~~~~^~~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:5165:27: note: '*((void*)& mava +8)' was declared here Maybe mava; ^~~~ In file included from ./jsscopeinlines.h:26, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:70: ./jscntxtinlines.h:503:21: warning: '*((void*)& mava +16)' may be used uninitialized in this function [-Wmaybe-uninitialized] versionOverride = newVersion; ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:5165:27: note: '*((void*)& mava +16)' was declared here Maybe mava; ^~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:150:13: warning: '*((void*)& mava +12)' may be used uninitialized in this function [-Wmaybe-uninitialized] if (oldHasVersionOverride) ^~~~~~~~~~~~~~~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:5165:27: note: '*((void*)& mava +12)' was declared here Maybe mava; ^~~~ In file included from ./jsscopeinlines.h:26, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:70: ./jscntxtinlines.h: In function 'bool JS::Evaluate(JSContext*, JS::HandleObject, JS::CompileOptions, const jschar*, size_t, jsval*)': ./jscntxtinlines.h:503:21: warning: '*((void*)& mava +16)' may be used uninitialized in this function [-Wmaybe-uninitialized] versionOverride = newVersion; ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:5649:27: note: '*((void*)& mava +16)' was declared here Maybe mava; ^~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:150:13: warning: '*((void*)& mava +12)' may be used uninitialized in this function [-Wmaybe-uninitialized] if (oldHasVersionOverride) ^~~~~~~~~~~~~~~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:5649:27: note: '*((void*)& mava +12)' was declared here Maybe mava; ^~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:1296:24: warning: '*((void*)& mava +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] defaultVersion = version; ~~~~~~~~~~~~~~~^~~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:5649:27: note: '*((void*)& mava +8)' was declared here Maybe mava; ^~~~ In file included from ./jsscopeinlines.h:26, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:70: ./jscntxtinlines.h:504:24: warning: 'mava.AutoVersionAPI::cx' may be used uninitialized in this function [-Wmaybe-uninitialized] hasVersionOverride = true; ~~~~~~~~~~~~~~~~~~~^~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:5649:27: note: 'mava.AutoVersionAPI::cx' was declared here Maybe mava; ^~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:59: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:28: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:59: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:28: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ c++ -o jsdate.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdate.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp jsdbgapi.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:25: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:29: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:25: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:29: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:25: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:29: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:25: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:48: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:25: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:48: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:25: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:29: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:25: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:59: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:25: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:59: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:25: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:59: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:25: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:59: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:25: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:59: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:25: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.cpp:29: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:34: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:36: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o jsdbgapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdbgapi.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp jsdhash.cpp In file included from ./jsscopeinlines.h:26, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:70: ./jscntxtinlines.h: In function 'JSFunction* JS::CompileFunction(JSContext*, JS::HandleObject, JS::CompileOptions, const char*, unsigned int, const char**, const jschar*, size_t)': ./jscntxtinlines.h:503:21: warning: '*((void*)& mava +16)' may be used uninitialized in this function [-Wmaybe-uninitialized] versionOverride = newVersion; ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:5428:27: note: '*((void*)& mava +16)' was declared here Maybe mava; ^~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:150:13: warning: '*((void*)& mava +12)' may be used uninitialized in this function [-Wmaybe-uninitialized] if (oldHasVersionOverride) ^~~~~~~~~~~~~~~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:5428:27: note: '*((void*)& mava +12)' was declared here Maybe mava; ^~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:1296:24: warning: '*((void*)& mava +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] defaultVersion = version; ~~~~~~~~~~~~~~~^~~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:5428:27: note: '*((void*)& mava +8)' was declared here Maybe mava; ^~~~ In file included from ./jsscopeinlines.h:26, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:70: ./jscntxtinlines.h:504:24: warning: 'mava.AutoVersionAPI::cx' may be used uninitialized in this function [-Wmaybe-uninitialized] hasVersionOverride = true; ~~~~~~~~~~~~~~~~~~~^~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.cpp:5428:27: note: 'mava.AutoVersionAPI::cx' was declared here Maybe mava; ^~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:24, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o jsdhash.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdhash.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdhash.cpp jsdtoa.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:22: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:22: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o jsdtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdtoa.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp jsexn.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o jsexn.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsexn.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp jsfriendapi.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:21: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:21: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:22: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:22: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:22: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:22: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:22: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::FrameState::ActiveFrame]': ./methodjit/FrameState.h:1046:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::FrameState::ActiveFrame'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.cpp:24: ./methodjit/FrameState.h:1045:12: note: 'struct js::mjit::FrameState::ActiveFrame' declared here struct ActiveFrame { ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:15: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:39: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:39: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:48: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:36: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:48: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:36: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:36: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:36: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:36: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:48: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:48: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:48: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:48: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:48: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:48: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:48: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:36: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:36: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdate.cpp:36: ./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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:24, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:24, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:24, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:24, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:39: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:24, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:39: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:24, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:39: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:24, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:39: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:24, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:39: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:24, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:39: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:24, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:39: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:24, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:18: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:24, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.cpp:18: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdbgapi.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ ./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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.h:149:45: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:15: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:15: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:17: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.cpp:15: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsdtoa.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:37: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:37: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp: In function 'bool InitExnPrivate(JSContext*, JS::HandleObject, JS::HandleString, JS::HandleString, unsigned int, unsigned int, JSErrorReport*, int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:313:27: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct JSExnPrivate' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(priv, 0, nbytes); ^ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:92:8: note: 'struct JSExnPrivate' declared here struct JSExnPrivate ^~~~~~~~~~~~ c++ -o jsfriendapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsfriendapi.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp jsfun.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ c++ -o jsfun.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsfun.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ jsgc.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:37: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:37: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:37: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:37: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:37: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:37: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:37: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:20: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.cpp:20: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsexn.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.cpp:11: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o jsgc.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsgc.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp jscrashreport.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:49: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o jscrashreport.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jscrashreport.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscrashreport.cpp jsinfer.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscrashreport.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o jsinfer.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsinfer.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp jsinterp.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:51: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscrashreport.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscrashreport.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscrashreport.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscrashreport.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscrashreport.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscrashreport.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscrashreport.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscrashreport.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscrashreport.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.h: At global scope: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.h:398:24: warning: inline function 'static void JSString::writeBarrierPost(JSString*, void*)' used but never defined static inline void writeBarrierPost(JSString *str, void *addr); ^~~~~~~~~~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.h:397:24: warning: inline function 'static void JSString::writeBarrierPre(JSString*)' used but never defined static inline void writeBarrierPre(JSString *str); ^~~~~~~~~~~~~~~ c++ -o jsinterp.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsinterp.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp jsiter.cpp c++ -o jsiter.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsiter.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp jslog2.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:15: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfuninlines.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:52: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfuninlines.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:52: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:48: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:48: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfuninlines.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:52: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfuninlines.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:52: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfuninlines.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:52: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfuninlines.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:52: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:21: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfuninlines.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:52: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:19: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:19: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfun.cpp:19: ./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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:52: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:21: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:52: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:21: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:28: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:28: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:21: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:21: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:21: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:47: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:47: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:52: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:52: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:52: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:52: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:52: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:21: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.cpp:21: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterp.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.h:149:45: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o jslog2.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jslog2.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jslog2.cpp jsmath.cpp In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfuninlines.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterpinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:83: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:50: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfuninlines.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterpinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:83: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:50: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:27: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:27: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:28: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:28: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:28: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:28: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:28: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ c++ -o jsmath.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsmath.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp jsnativestack.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::FrameState::ActiveFrame]': ./methodjit/FrameState.h:1046:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::FrameState::ActiveFrame'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:28: ./methodjit/FrameState.h:1045:12: note: 'struct js::mjit::FrameState::ActiveFrame' declared here struct ActiveFrame { ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeCompartment]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:2002:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.h:1146:8: note: 'struct js::types::TypeCompartment' declared here struct TypeCompartment ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*, size_t) [with T = js::types::StackTypeSet; size_t = long unsigned int]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:3394:29: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:195:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::types::StackTypeSet'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.h:451:7: note: 'class js::types::StackTypeSet' declared here class StackTypeSet : public TypeSet ^~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*, size_t) [with T = js::types::HeapTypeSet; size_t = long unsigned int]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:4255:46: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:195:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::types::HeapTypeSet'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.h:514:7: note: 'class js::types::HeapTypeSet' declared here class HeapTypeSet : public TypeSet ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:45: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:45: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:46: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:51: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:46: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:51: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:46: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:51: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:46: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:65: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:46: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:65: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:46: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfuninlines.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterpinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:83: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:46: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfuninlines.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterpinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:83: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:46: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfuninlines.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterpinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:83: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:46: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfuninlines.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterpinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:83: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:46: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfuninlines.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinterpinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:83: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:46: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:51: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:45: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:45: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:45: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:45: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:45: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:45: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:45: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:46: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:51: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:16: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.cpp:16: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:50: ./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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ ./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:1379:57: required from 'void js::HashSet::clear() [with T = js::gc::Chunk*; HashPolicy = js::GCChunkHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:1284:26: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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:1168:57: required from 'void js::HashMap::clear() [with Key = void*; Value = js::RootInfo; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:1292:27: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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::SystemAllocPolicy]': ./dist/include/js/HashTable.h:1168:57: required from 'void js::HashMap::clear() [with Key = void*; Value = unsigned int; HashPolicy = js::GCPtrHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:1293:27: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap::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 = JSScript* const; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::SystemAllocPolicy]': ./dist/include/js/HashTable.h:1379:57: required from 'void js::HashSet::clear() [with T = JSScript*; HashPolicy = js::EvalCacheHashPolicy; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsgc.cpp:3205:25: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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::TempAllocPolicy>::MapHashPolicy; AllocPolicy = js::TempAllocPolicy]': ./dist/include/js/HashTable.h:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.h:149:45: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:27: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:27: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:27: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:27: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:27: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:27: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:27: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:27: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:27: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:19: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ ./dist/include/js/HashTable.h: In function 'void js_RemoveRoot(JSRuntime*, void*)': ./dist/include/js/HashTable.h:939:9: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] value = rhs.value; ^~~~~ ./dist/include/js/HashTable.h:939:9: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] value = rhs.value; ^~~~~ ./dist/include/js/HashTable.h: In function 'uint32_t js_MapGCRoots(JSRuntime*, JSGCRootMapFun, void*)': ./dist/include/js/HashTable.h:939:9: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] value = rhs.value; ^~~~~ ./dist/include/js/HashTable.h:939:9: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] value = rhs.value; ^~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:19: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsmath.cpp:18: ./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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 function 'void js_FinishGC(JSRuntime*)': ./dist/include/js/HashTable.h:952:9: warning: '*((void*)& +16)' may be used uninitialized in this function [-Wmaybe-uninitialized] value = Move(rhs->value); ^~~~~ c++ -o jsnativestack.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsnativestack.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnativestack.cpp jsnum.cpp c++ -o jsnum.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsnum.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp jsobj.cpp In file included from ./../../mfbt/double-conversion/double-conversion.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:14: ./../../mfbt/double-conversion/utils.h: In function 'Dest double_conversion::BitCast(const Source&)': ./../../mfbt/double-conversion/utils.h:284:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; ^~~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:31: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o jsobj.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsobj.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp json.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o json.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/json.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp jsonparser.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:53: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:53: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:34: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:34: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:53: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:53: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:53: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:53: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:53: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:20: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.cpp:20: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.h:149:45: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o jsonparser.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsonparser.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp jsopcode.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:51: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:32: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:51: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:32: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ c++ -o jsopcode.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsopcode.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp jsproxy.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:30: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:30: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:30: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:30: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:51: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:30: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:51: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:30: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:51: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:30: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:51: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:30: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:51: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:30: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:51: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:30: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:51: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:30: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:33: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:30: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:33: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsnum.cpp:32: ./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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:26: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:27: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:48: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:27: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:48: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:27: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ c++ -o jsproxy.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsproxy.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp jsprf.cpp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp: In member function 'bool ExpressionDecompiler::decompilePC(jsbytecode*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:5971:31: warning: comparison of constant '0' with boolean expression is always true [-Wbool-compare] write("]") >= 0; ~~~~~~~~~~~^~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:27: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:27: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:27: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxtinlines.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:47: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxtinlines.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:47: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:27: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:48: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:48: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:48: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:48: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:48: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.cpp:27: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsopcode.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsboolinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsboolinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsboolinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsboolinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:12: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsboolinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsboolinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsboolinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsboolinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsboolinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.cpp:12: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/json.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ ./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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.h:149:45: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsonparser.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:10: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:21: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:10: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:21: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:10: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:10: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:10: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:10: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:21: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:21: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:21: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:21: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:21: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:21: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:21: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:10: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.cpp:10: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsproxy.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o jsprf.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsprf.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprf.cpp jsprobes.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprf.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o jsprobes.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsprobes.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp jspropertycache.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o jspropertycache.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jspropertycache.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp jspropertytree.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:21: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:30: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:30: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:9: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.cpp:9: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ c++ -o jspropertytree.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jspropertytree.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp jsreflect.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.h:149:45: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o jsreflect.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsreflect.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp jsscope.cpp c++ -o jsscope.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsscope.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp jsscript.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o jsscript.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsscript.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp jsstr.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:21: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:21: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:21: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:26: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:26: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:30: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:30: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:30: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:30: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:21: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:30: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:21: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::FrameState::ActiveFrame]': ./methodjit/FrameState.h:1046:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::FrameState::ActiveFrame'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.cpp:30: ./methodjit/FrameState.h:1045:12: note: 'struct js::mjit::FrameState::ActiveFrame' declared here struct ActiveFrame { ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o jsstr.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsstr.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp jstypedarray.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:28: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:29: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:32: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:32: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxtinlines.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:31: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxtinlines.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:31: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:19: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:32: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:32: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:32: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:32: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:32: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:19: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscope.cpp:18: ./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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:12: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.cpp:12: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertytree.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:36: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:36: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:18: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:19: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:35: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:35: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:36: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:36: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:36: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:36: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:19: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:36: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:19: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::FrameState::ActiveFrame]': ./methodjit/FrameState.h:1046:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::FrameState::ActiveFrame'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:36: ./methodjit/FrameState.h:1045:12: note: 'struct js::mjit::FrameState::ActiveFrame' declared here struct ActiveFrame { ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = JSScript]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:1473:19: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct JSScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:19: ./jsscript.h:269:8: note: 'struct JSScript' declared here struct JSScript : public js::gc::Cell ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:18: ./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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o jstypedarray.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jstypedarray.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp jsutil.cpp ./dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::ScriptFilenameEntry* const; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::SystemAllocPolicy]': ./dist/include/js/HashTable.h:1379:57: required from 'void js::HashSet::clear() [with T = js::ScriptFilenameEntry*; HashPolicy = js::ScriptFilenameHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsscript.cpp:1362:17: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:13: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ ./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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.h:149:45: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:23: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:23: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:23: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:23: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:23: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:23: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:23: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:23: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:51: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:29: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:51: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:29: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:23: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobj.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:16: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsiter.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsreflect.cpp:20: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:14, from /construction/lang/spidermonkey170/mozjs17.0.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:26: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:29: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:26: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:29: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:26: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:29: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:26: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:39: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:26: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:39: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:26: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:51: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:26: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:51: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:26: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:51: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:26: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:51: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:26: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:51: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:26: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:29: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:26: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsstr.cpp:29: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:33: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:33: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp: In member function 'bool js::ArrayBufferObject::allocateSlots(JSContext*, uint32_t, uint8_t*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:225:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memcpy(elements, contents, size); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:229:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memcpy(elements, contents, size); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:231:37: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memset(elements, 0, size); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp: In static member function 'static JSBool js::ArrayBufferObject::createTypedArrayFromBuffer(JSContext*, unsigned int, JS::Value*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:2108:35: warning: typedef 'ArrayType' locally defined but not used [-Wunused-local-typedefs] typedef TypedArrayTemplate ArrayType; ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:14: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:33: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:33: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:33: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:33: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:14: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:11: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:14: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp: In instantiation of 'static bool TypedArrayTemplate::copyFromWithOverlap(JSContext*, JSObject*, JSObject*, uint32_t) [with NativeType = js::uint8_clamped; JSContext = JSContext; JSObject = JSObject; uint32_t = unsigned int]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:1868:39: required from 'static bool TypedArrayTemplate::copyFromTypedArray(JSContext*, JSObject*, JSObject*, uint32_t) [with NativeType = js::uint8_clamped; JSContext = JSContext; JSObject = JSObject; uint32_t = unsigned int]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:1595:36: required from 'static bool TypedArrayTemplate::fun_set_impl(JSContext*, JS::CallArgs) [with NativeType = js::uint8_clamped; JSContext = JSContext]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:1620:93: required from 'static JSBool TypedArrayTemplate::fun_set(JSContext*, unsigned int, JS::Value*) [with NativeType = js::uint8_clamped; JSBool = int; JSContext = JSContext]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:3091:1: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:1945: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, viewData(tarray), byteLength); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./jsobj.h:31, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jstypedarray.cpp:14: ./vm/ObjectImpl.h:469:8: note: 'struct js::uint8_clamped' declared here struct uint8_clamped { ^~~~~~~~~~~~~ c++ -o jsutil.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsutil.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.cpp jswatchpoint.cpp c++ -o jswatchpoint.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jswatchpoint.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp jsweakmap.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o jsweakmap.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsweakmap.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp jswrapper.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:10: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:10: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o jswrapper.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jswrapper.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp jsxml.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:10: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:10: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:10: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:10: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:10: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:10: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:10: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.cpp:10: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsweakmap.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:10: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:10: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:10: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:12: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsalloc.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:7: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:10: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:14, from /construction/lang/spidermonkey170/mozjs17.0.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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:1168:57: required from 'void js::HashMap::clear() [with Key = js::WatchKey; Value = js::Watchpoint; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswatchpoint.cpp:119:15: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:21: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:21: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:21: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:21: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:9: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:21: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:21: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:21: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:21: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:21: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jswrapper.cpp:9: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o jsxml.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsxml.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp prmjtime.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:24: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o prmjtime.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/prmjtime.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/prmjtime.cpp sharkctl.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jslock.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/prmjtime.cpp:20: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o sharkctl.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/sharkctl.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/sharkctl.cpp ArgumentsObject.cpp c++ -o ArgumentsObject.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ArgumentsObject.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp ScopeObject.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:25: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jsapi.h:26, from ./jsprvtd.h:24, from ./jsgc.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsinfer.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:9: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o ScopeObject.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ScopeObject.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp Debugger.cpp In file included from ./jsapi.h:26, from ./jscntxt.h:17, from ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jscntxt.h:28, from ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:47: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:25: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:47: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:25: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:23: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:25: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:23: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:25: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:23: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:25: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:17: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:17: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ c++ -o Debugger.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Debugger.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp GlobalObject.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:16: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsinfer.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:9: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:16: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsinfer.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:9: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./jsarray.h:12, from ./vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:12: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./jsarray.h:12, from ./vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:12: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./jsarray.h:12, from ./vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:12: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:16: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:16: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jsinterp.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:10: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:16: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:16: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:16: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:16: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:16: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.cpp:9: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsgc.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ArgumentsObject.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jsapi.h:26, from ./vm/Debugger.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jscntxt.h:28, from ./vm/Debugger.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:17: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:17: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:17: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:17: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:17: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:17: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:17: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from ./jscompartment.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ScopeObject.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:23: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:47: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:23: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:47: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:23: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:47: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:23: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:47: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:23: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:47: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:23: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:47: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:23: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:47: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:23: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:25: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:23: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.cpp:25: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsxml.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o GlobalObject.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/GlobalObject.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp ObjectImpl.cpp In file included from ./jsapi.h:26, from ./jscntxt.h:17, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o ObjectImpl.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ObjectImpl.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp Stack.cpp In file included from ./jscntxt.h:28, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jsapi.h:26, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:11: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsinfer.h:18, from ./jsobj.h:23, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:11: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from ./vm/Stack-inl.h:17, from ./jsinferinlines.h:18, from ./jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:14: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./vm/Debugger.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from ./vm/Stack-inl.h:17, from ./jsinferinlines.h:18, from ./jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:14: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./vm/Debugger.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:23: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:23: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:12: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jsobj.h:20, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:11: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:12: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jsobj.h:20, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:11: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./jsarray.h:12, from ./jsobjinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:12: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./jsarray.h:12, from ./jsobjinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:12: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./jsarray.h:12, from ./jsobjinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:12: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:23: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:23: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:23: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:23: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:23: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:23: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:23: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::FrameState::ActiveFrame]': ./methodjit/FrameState.h:1046:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::FrameState::ActiveFrame'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/StubCompiler.h:13, from ./methodjit/Compiler.h:15, from ./methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.cpp:30: ./methodjit/FrameState.h:1045:12: note: 'struct js::mjit::FrameState::ActiveFrame' declared here struct ActiveFrame { ^~~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from ./jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/GlobalObject.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jsapi.h:22, from ./vm/Debugger.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./vm/Debugger.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./vm/Debugger.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./vm/Debugger.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./vm/Debugger.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./vm/Debugger.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./vm/Debugger.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:14: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./vm/Debugger.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:14: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./vm/Debugger.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:14: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./vm/Debugger.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:14: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./vm/Debugger.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/Stack-inl.h:14, from ./jsinferinlines.h:18, from ./jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:14: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./vm/Debugger.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/Stack-inl.h:14, from ./jsinferinlines.h:18, from ./jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:14: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./vm/Debugger.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from ./vm/Stack-inl.h:17, from ./jsinferinlines.h:18, from ./jsarrayinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:14: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./vm/Debugger.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./vm/Debugger.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./vm/Debugger.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./vm/Debugger.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./vm/Debugger.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::FrameState::ActiveFrame]': ./methodjit/FrameState.h:1046:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::FrameState::ActiveFrame'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/StubCompiler.h:13, from ./methodjit/Compiler.h:15, from ./methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.cpp:23: ./methodjit/FrameState.h:1045:12: note: 'struct js::mjit::FrameState::ActiveFrame' declared here struct ActiveFrame { ^~~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from ./vm/Debugger.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Debugger.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' ./frontend/BytecodeEmitter.h:149:45: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:12: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:12: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:11: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:12: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:12: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:12: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:12: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:12: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.cpp:11: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsatom.h:14, from ./jsobj.h:20, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/ObjectImpl.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' ./frontend/BytecodeEmitter.h:149:45: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o Stack.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Stack.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp String.cpp c++ -o String.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/String.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp BytecodeCompiler.cpp In file included from ./jsapi.h:26, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsapi.h:26, from ./jsprvtd.h:24, from ./jsgc.h:19, from ./gc/Marking.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jscntxt.h:28, from ./gc/Marking.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:13: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./gc/Marking.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:13: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./gc/Marking.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ c++ -o BytecodeCompiler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/BytecodeCompiler.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp BytecodeEmitter.cpp In file included from ./jsalloc.h:12, from ./jsgc.h:17, from ./gc/Marking.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./gc/Marking.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from ./gc/Marking.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./gc/Marking.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from ./gc/Marking.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./gc/Marking.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from ./gc/Marking.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String-inl.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:13: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from ./gc/Marking.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String-inl.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:13: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from ./gc/Marking.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./gc/Marking.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from ./gc/Marking.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:13: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from ./gc/Marking.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:13: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from ./gc/Marking.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:13: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from ./gc/Marking.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:13: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from ./gc/Marking.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:13: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./jsgc.h:17, from ./gc/Marking.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./gc/Marking.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.cpp:10: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsgc.h:19, from ./gc/Marking.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/String.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jsapi.h:26, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsinfer.h:18, from ./jsscript.h:16, from ./frontend/Parser.h:18, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:14: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:14: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ c++ -o BytecodeEmitter.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/BytecodeEmitter.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp FoldConstants.cpp In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:10: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:10: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:14: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:14: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:14: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:14: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:14: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:23: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:25: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from ./vm/Stack-inl.h:17, from ./jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:17: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./frontend/Parser.h:17, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from ./vm/Stack-inl.h:17, from ./jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:17: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./frontend/Parser.h:17, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./frontend/TokenStream.h:16, from ./frontend/ParseNode.h:16, from ./frontend/Parser.h:22, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./frontend/TokenStream.h:16, from ./frontend/ParseNode.h:16, from ./frontend/Parser.h:22, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./frontend/TokenStream.h:16, from ./frontend/ParseNode.h:16, from ./frontend/Parser.h:22, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:10: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:10: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:17: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:17: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:17: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:17: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from ./vm/Stack-inl.h:17, from ./jsinferinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:17: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:16, from ./frontend/Parser.h:18, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./frontend/Parser.h:18, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsprvtd.h:28, from ./frontend/Parser.h:15, from ./frontend/BytecodeCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeCompiler.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o FoldConstants.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/FoldConstants.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp NameFunctions.cpp ./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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' ./frontend/BytecodeEmitter.h:149:45: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = js::frontend::DefinitionList; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' ./frontend/ParseMaps-inl.h:76:54: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ In file included from ./jsapi.h:26, from ./jsobj.h:19, from ./jsnum.h:14, from ./jslibmath.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:10: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsscopeinlines.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:42: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:24: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:42: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:24: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsinfer.h:18, from ./jsobj.h:23, from ./jsnum.h:14, from ./jslibmath.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:10: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o NameFunctions.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/NameFunctions.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp ParallelArray.cpp In file included from ./jsapi.h:26, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsinfer.h:18, from ./jsscript.h:16, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:25: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:25: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:25: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jscntxtinlines.h:15, from ./jsscopeinlines.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:42: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jscntxtinlines.h:15, from ./jsscopeinlines.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:42: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:42: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:42: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:42: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:42: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:42: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:25: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.cpp:25: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:15: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsinfer.h:19, from ./jsscript.h:16, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:15: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsinfer.h:19, from ./jsscript.h:16, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsatom.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/BytecodeEmitter.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./frontend/TokenStream.h:16, from ./frontend/ParseNode.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./frontend/TokenStream.h:16, from ./frontend/ParseNode.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./frontend/TokenStream.h:16, from ./frontend/ParseNode.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./vm/String-inl.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:15: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./vm/String-inl.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:15: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:15: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:15: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:15: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:15: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:15: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:16, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/NameFunctions.cpp:9: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' ./frontend/BytecodeEmitter.h:149:45: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = js::frontend::DefinitionList; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' ./frontend/ParseMaps-inl.h:76:54: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ In file included from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:22: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jsobj.h:20, from ./jsnum.h:14, from ./jslibmath.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:10: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:22: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jsobj.h:20, from ./jsnum.h:14, from ./jslibmath.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:10: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from ./jslibmath.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./frontend/TokenStream.h:16, from ./frontend/ParseNode.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:16: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from ./jslibmath.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./frontend/TokenStream.h:16, from ./frontend/ParseNode.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:16: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from ./jslibmath.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./frontend/TokenStream.h:16, from ./frontend/ParseNode.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:16: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from ./jslibmath.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./vm/String-inl.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:22: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from ./jslibmath.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./vm/String-inl.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:22: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from ./jslibmath.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:16: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from ./jslibmath.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:22: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from ./jslibmath.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:22: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from ./jslibmath.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:22: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from ./jslibmath.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:22: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from ./jslibmath.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:22: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from ./jslibmath.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsnum.h:14, from ./jslibmath.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.cpp:10: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsatom.h:14, from ./jsobj.h:20, from ./jsnum.h:14, from ./jslibmath.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/FoldConstants.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o ParallelArray.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ParallelArray.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp ParseMaps.cpp In file included from ./jsapi.h:26, from ./builtin/ParallelArray.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o ParseMaps.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ParseMaps.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp ParseNode.cpp In file included from ./jsapi.h:26, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jscntxt.h:28, from ./builtin/ParallelArray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o ParseNode.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ParseNode.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp Parser.cpp In file included from ./jsapi.h:26, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsinfer.h:18, from ./jsscript.h:16, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o Parser.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Parser.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp SPSProfiler.cpp In file included from ./builtin/ParallelArray-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:9: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./builtin/ParallelArray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./builtin/ParallelArray-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:9: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./builtin/ParallelArray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:26, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsapi.h:22, from ./builtin/ParallelArray.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./builtin/ParallelArray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/ParallelArray.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./builtin/ParallelArray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/ParallelArray.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./builtin/ParallelArray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:11: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsinfer.h:19, from ./jsscript.h:16, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:11: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsinfer.h:19, from ./jsscript.h:16, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./frontend/TokenStream.h:16, from ./frontend/ParseNode.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./frontend/TokenStream.h:16, from ./frontend/ParseNode.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./frontend/TokenStream.h:16, from ./frontend/ParseNode.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jscntxtinlines.h:15, from ./jsscopeinlines.h:26, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:11: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jscntxtinlines.h:15, from ./jsscopeinlines.h:26, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:11: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:11: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:11: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:11: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:11: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:11: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:16, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsscript.h:13, from ./frontend/ParseNode.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseNode.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jsapi.h:22, from ./builtin/ParallelArray.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from ./builtin/ParallelArray-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:9: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/ParallelArray.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from ./builtin/ParallelArray-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:9: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/ParallelArray.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./builtin/ParallelArray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/ParallelArray.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./builtin/ParallelArray-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:9: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/ParallelArray.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./builtin/ParallelArray-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:9: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/ParallelArray.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./builtin/ParallelArray-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:9: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/ParallelArray.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./builtin/ParallelArray-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:9: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/ParallelArray.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./builtin/ParallelArray-inl.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:9: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/ParallelArray.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./builtin/ParallelArray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsinfer.h:18, from ./jsscript.h:16, from ./frontend/Parser.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from ./builtin/ParallelArray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/ParallelArray.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = js::frontend::DefinitionList; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' ./frontend/ParseMaps-inl.h:76:54: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o SPSProfiler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/SPSProfiler.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp TokenStream.cpp In file included from ./jsapi.h:26, from ./jsobj.h:19, from ./jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsinfer.h:18, from ./jsobj.h:23, from ./jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:12: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:12: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./vm/String-inl.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:12: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./vm/String-inl.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:12: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:12: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:12: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:12: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:12: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:12: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o TokenStream.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/TokenStream.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp TestingFunctions.cpp ./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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = js::frontend::DefinitionList; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/ParseMaps-inl.h:76:54: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ In file included from ./jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:24: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:26: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:55: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./frontend/Parser.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:55: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./frontend/Parser.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ c++ -o TestingFunctions.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/TestingFunctions.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp LifoAlloc.cpp In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./frontend/TokenStream.h:16, from ./frontend/ParseNode.h:16, from ./frontend/Parser.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./frontend/TokenStream.h:16, from ./frontend/ParseNode.h:16, from ./frontend/Parser.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./frontend/TokenStream.h:16, from ./frontend/ParseNode.h:16, from ./frontend/Parser.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jscntxtinlines.h:15, from ./jsscopeinlines.h:26, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:55: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jscntxtinlines.h:15, from ./jsscopeinlines.h:26, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:55: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:55: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:55: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:55: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:55: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:55: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:16, from ./frontend/Parser.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsprvtd.h:24, from ./frontend/Parser.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./frontend/Parser.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsprvtd.h:28, from ./frontend/Parser.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:6: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsinfer.h:18, from ./jsobj.h:23, from ./jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:7: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ ./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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = js::frontend::DefinitionList; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' ./frontend/ParseMaps-inl.h:76:54: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = js::frontend::Definition*; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = js::frontend::Definition*; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = js::frontend::Definition*; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257:24: required from 'bool js::InlineMap::add(js::InlineMap::AddPtr&, const K&, const V&) [with K = JSAtom*; V = js::frontend::Definition*; long unsigned int InlineElems = 24]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:1184:73: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:6845:50: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ In file included from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:12: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jsobj.h:20, from ./jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:12: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jsobj.h:20, from ./jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:38: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:25: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:38: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:25: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:11: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:11: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:11: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:11: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:11: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:12: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:12: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:12: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:12: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:9: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:12: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ c++ -o LifoAlloc.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/LifoAlloc.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.cpp Eval.cpp In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::FrameState::ActiveFrame]': ./methodjit/FrameState.h:1046:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::FrameState::ActiveFrame'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/StubCompiler.h:13, from ./methodjit/Compiler.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.cpp:12: ./methodjit/FrameState.h:1045:12: note: 'struct js::mjit::FrameState::ActiveFrame' declared here struct ActiveFrame { ^~~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsatom.h:14, from ./jsobj.h:20, from ./jsnum.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o Eval.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Eval.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp MapObject.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:22: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:26: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:22: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:26: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:22: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:26: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:22: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jscntxtinlines.h:15, from ./jsscopeinlines.h:26, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:38: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:22: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jscntxtinlines.h:15, from ./jsscopeinlines.h:26, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:38: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:22: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:38: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:22: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:38: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:22: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:38: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:22: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:38: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:22: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:38: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:22: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:26: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:22: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.cpp:26: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsatom.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/TokenStream.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./frontend/Parser.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:21: ./jsscript.h: In function 'void AppendPackedBindings(const js::frontend::ParseContext*, const DeclVector&, js::Binding*)': ./jsscript.h:103:35: warning: 'kind' may be used uninitialized in this function [-Wmaybe-uninitialized] bits_ = uintptr_t(name) | uintptr_t(kind) | (aliased ? ALIASED_BIT : 0); ^~~~~~~~~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/frontend/Parser.cpp:267:21: note: 'kind' was declared here BindingKind kind; ^~~~ In file included from ./jsapi.h:26, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:13: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jsobj.h:20, from ./jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:7: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:13: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jsobj.h:20, from ./jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:7: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:13: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:13: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:13: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:13: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:13: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:13: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:13: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.cpp:7: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsatom.h:14, from ./jsobj.h:20, from ./jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/TestingFunctions.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o MapObject.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MapObject.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp MemoryMetrics.cpp In file included from ./jsapi.h:26, from ./builtin/MapObject.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o MemoryMetrics.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MemoryMetrics.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp RegExpObject.cpp In file included from ./jscntxt.h:28, from ./builtin/MapObject.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:9: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:10: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o RegExpObject.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/RegExpObject.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp RegExpStatics.cpp In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from ./jsinterpinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:16: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from ./jsinterpinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:16: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:26, from ./jscntxt.h:17, from ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsinterpinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:16: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsinterpinlines.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:16: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from ./jsinterpinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:16: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from ./jsinterpinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:16: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from ./jsinterpinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:16: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from ./jsinterpinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:16: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./jsscopeinlines.h:28, from ./jsscriptinlines.h:21, from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from ./jsinterpinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:16: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jscntxt.h:28, from ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/Eval.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' ./frontend/BytecodeEmitter.h:149:45: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o RegExpStatics.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/RegExpStatics.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp RegExp.cpp In file included from ./jsapi.h:26, from ./jscntxt.h:17, from ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jscntxt.h:28, from ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:14: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:14: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:10: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:10: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsalloc.h:12, from ./dist/include/js/MemoryMetrics.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:5: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:10: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./dist/include/js/MemoryMetrics.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:5: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:10: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./dist/include/js/MemoryMetrics.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:5: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:10: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./dist/include/js/MemoryMetrics.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:5: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./dist/include/js/MemoryMetrics.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:5: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./dist/include/js/MemoryMetrics.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:5: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:10: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsalloc.h:12, from ./dist/include/js/MemoryMetrics.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:5: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsalloc.h:12, from ./dist/include/js/MemoryMetrics.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:5: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsalloc.h:12, from ./dist/include/js/MemoryMetrics.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:5: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./dist/include/js/MemoryMetrics.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:5: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:19: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./builtin/MapObject.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:19: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./builtin/MapObject.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsalloc.h:12, from ./dist/include/js/MemoryMetrics.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:5: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:17: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./dist/include/js/MemoryMetrics.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:5: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Stack.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.cpp:10: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsclass.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsfriendapi.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/MemoryMetrics.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jsapi.h:22, from ./builtin/MapObject.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./builtin/MapObject.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/MapObject.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./builtin/MapObject.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/MapObject.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./builtin/MapObject.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/MapObject.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:19: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/MapObject.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:19: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/MapObject.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./builtin/MapObject.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/MapObject.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:19: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/MapObject.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:19: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/MapObject.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:19: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/MapObject.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:19: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/MapObject.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:19: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./builtin/MapObject.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./builtin/MapObject.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from ./builtin/MapObject.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/MapObject.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o RegExp.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/RegExp.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp Marking.cpp In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:14: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:14: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:26, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:14: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:14: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:14: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:14: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:14: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from ./frontend/TokenStream.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpObject.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:10: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:10: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:10: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:10: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:10: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:10: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:10: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:10: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:10: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from ./vm/RegExpStatics.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/RegExpStatics.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o Marking.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Marking.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp Memory.cpp c++ -o Memory.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Memory.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Memory.cpp Statistics.cpp In file included from ./jsapi.h:26, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsapi.h:26, from ./jsprvtd.h:24, from ./jsgc.h:19, from ./gc/Memory.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Memory.cpp:13: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ ./dist/include/js/HashTable.h: In member function 'void js::RegExpCompartment::sweep(JSRuntime*)': ./dist/include/js/HashTable.h:938:9: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] const_cast(key) = rhs.key; ^~~~~~~~~~ ./dist/include/js/HashTable.h:938:9: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] const_cast(key) = rhs.key; ^~~~~~~~~~ c++ -o Statistics.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Statistics.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp StoreBuffer.cpp In file included from ./jsapi.h:26, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsinfer.h:18, from ./jsobj.h:23, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o StoreBuffer.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/StoreBuffer.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/StoreBuffer.cpp StringBuffer.cpp c++ -o StringBuffer.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/StringBuffer.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp Unicode.cpp In file included from ./vm/RegExpObject-inl.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:14: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./vm/RegExpObject-inl.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:14: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from ./vm/RegExpObject-inl.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:14: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from ./vm/RegExpObject-inl.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:14: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:26, from ./jscntxt.h:17, from ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jscntxt.h:28, from ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o Unicode.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Unicode.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Unicode.cpp Xdr.cpp c++ -o Xdr.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Xdr.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp MethodJIT.cpp In file included from ./jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:16: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./vm/RegExpObject-inl.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:14: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./vm/RegExpObject-inl.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:14: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./vm/RegExpObject-inl.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:14: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./vm/RegExpObject-inl.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:14: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./vm/RegExpObject-inl.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:14: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/builtin/RegExp.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:17: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:15: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jsobj.h:20, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:15: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jsobj.h:20, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./gc/Marking.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:12: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./gc/Marking.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:12: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./gc/Marking.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:12: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:13: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:13: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./vm/String-inl.h:18, from ./gc/Barrier-inl.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:23: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./vm/String-inl.h:18, from ./gc/Barrier-inl.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:23: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:9: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:9: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:15: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:15: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:15: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:15: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:15: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsobj.h:19, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsatom.h:14, from ./jsobj.h:20, from ./jsscope.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Marking.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:16: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:16: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./vm/String-inl.h:18, from ./gc/Barrier-inl.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:23: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./vm/String-inl.h:18, from ./gc/Barrier-inl.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:23: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./vm/String-inl.h:18, from ./gc/Barrier-inl.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:23: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./vm/String-inl.h:18, from ./gc/Barrier-inl.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:23: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./vm/String-inl.h:18, from ./gc/Barrier-inl.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:23: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.cpp:11: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/gc/Statistics.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:9: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:9: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:9: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:9: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:9: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:9: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:9: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/StringBuffer.cpp:7: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from ./vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o MethodJIT.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MethodJIT.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp StubCalls.cpp In file included from ./jsapi.h:26, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o StubCalls.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/StubCalls.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp Compiler.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:14: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:14: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:26, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o Compiler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Compiler.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp FrameState.cpp In file included from ./jsapi.h:26, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:25: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:17: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:25: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:17: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:13: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:17: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:13: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:17: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:13: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:17: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:25: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:25: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:13: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:25: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:13: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:25: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:13: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:17: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:13: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:25: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:13: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:25: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:13: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:25: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:13: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:25: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:13: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:25: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:13: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:17: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/vm/Xdr.cpp:17: ./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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o FrameState.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/FrameState.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp FastArithmetic.cpp In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ c++ -o FastArithmetic.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/FastArithmetic.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp FastBuiltins.cpp In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:25: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:25: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:25: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:25: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:25: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:25: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:25: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsapi.h:26, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::FrameState::ActiveFrame]': ./methodjit/FrameState.h:1046:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::FrameState::ActiveFrame'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/StubCompiler.h:13, from ./methodjit/Compiler.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.cpp:25: ./methodjit/FrameState.h:1045:12: note: 'struct js::mjit::FrameState::ActiveFrame' declared here struct ActiveFrame { ^~~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ ./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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' ./frontend/BytecodeEmitter.h:149:45: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ In file included from ./jsapi.h:26, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:7: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsinfer.h:18, from ./jsobj.h:23, from ./jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:7: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:14: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:14: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:14: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:14: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:14: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::FrameState::ActiveFrame]': ./methodjit/FrameState.h:1046:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::FrameState::ActiveFrame'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.cpp:15: ./methodjit/FrameState.h:1045:12: note: 'struct js::mjit::FrameState::ActiveFrame' declared here struct ActiveFrame { ^~~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ ./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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' ./frontend/BytecodeEmitter.h:149:45: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o FastBuiltins.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/FastBuiltins.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp FastOps.cpp In file included from ./jsapi.h:26, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:7: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:8: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:8: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsinfer.h:18, from ./jsobj.h:23, from ./jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:7: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:11: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jsobj.h:20, from ./jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:7: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:11: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jsobj.h:20, from ./jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:7: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:10: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:10: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:10: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:10: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:10: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:11: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:11: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:11: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:11: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:10: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:11: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:7: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::FrameState::ActiveFrame]': ./methodjit/FrameState.h:1046:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::FrameState::ActiveFrame'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/StubCompiler.h:13, from ./methodjit/Compiler.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:11: ./methodjit/FrameState.h:1045:12: note: 'struct js::mjit::FrameState::ActiveFrame' declared here struct ActiveFrame { ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::LoopState::InvariantEntry]': ./methodjit/LoopState.h:180:40: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::LoopState::InvariantEntry'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/FrameState-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.cpp:13: ./methodjit/LoopState.h:132:12: note: 'struct js::mjit::LoopState::InvariantEntry' declared here struct InvariantEntry { ^~~~~~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsatom.h:14, from ./jsobj.h:20, from ./jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastArithmetic.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:12: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:12: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:12: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jsobj.h:20, from ./jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:7: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:12: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jsobj.h:20, from ./jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:7: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ c++ -o FastOps.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/FastOps.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp LoopState.cpp In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:8: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:8: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:8: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:8: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:8: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:8: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:8: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::FrameState::ActiveFrame]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.h:1046:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::FrameState::ActiveFrame'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.h:1045:12: note: 'struct js::mjit::FrameState::ActiveFrame' declared here struct ActiveFrame { ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::LoopState::InvariantEntry]': ./methodjit/LoopState.h:180:40: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::LoopState::InvariantEntry'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.cpp:9: ./methodjit/LoopState.h:132:12: note: 'struct js::mjit::LoopState::InvariantEntry' declared here struct InvariantEntry { ^~~~~~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:11: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:11: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:11: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:12: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:12: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:12: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:12: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:26, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsinfer.h:18, from ./jsobj.h:23, from ./jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:12: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::FrameState::ActiveFrame]': ./methodjit/FrameState.h:1046:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::FrameState::ActiveFrame'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:12: ./methodjit/FrameState.h:1045:12: note: 'struct js::mjit::FrameState::ActiveFrame' declared here struct ActiveFrame { ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::LoopState::InvariantEntry]': ./methodjit/LoopState.h:180:40: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::LoopState::InvariantEntry'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.cpp:20: ./methodjit/LoopState.h:132:12: note: 'struct js::mjit::LoopState::InvariantEntry' declared here struct InvariantEntry { ^~~~~~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:11: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:11: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:12: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:12: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:12: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:12: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:11: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:12: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:7: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::FrameState::ActiveFrame]': ./methodjit/FrameState.h:1046:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::FrameState::ActiveFrame'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/StubCompiler.h:13, from ./methodjit/Compiler.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:12: ./methodjit/FrameState.h:1045:12: note: 'struct js::mjit::FrameState::ActiveFrame' declared here struct ActiveFrame { ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::LoopState::InvariantEntry]': ./methodjit/LoopState.h:180:40: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::LoopState::InvariantEntry'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/FrameState-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.cpp:14: ./methodjit/LoopState.h:132:12: note: 'struct js::mjit::LoopState::InvariantEntry' declared here struct InvariantEntry { ^~~~~~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsatom.h:14, from ./jsobj.h:20, from ./jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastBuiltins.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' ./frontend/BytecodeEmitter.h:149:45: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ In file included from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:14: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jsobj.h:20, from ./jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:14: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jsobj.h:20, from ./jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:9: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:9: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:9: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:13: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:13: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:14: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:14: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:14: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:14: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:9: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:14: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::FrameState::ActiveFrame]': ./methodjit/FrameState.h:1046:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::FrameState::ActiveFrame'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/StubCompiler.h:13, from ./methodjit/Compiler.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:14: ./methodjit/FrameState.h:1045:12: note: 'struct js::mjit::FrameState::ActiveFrame' declared here struct ActiveFrame { ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jsbool.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::LoopState::InvariantEntry]': ./methodjit/LoopState.h:180:40: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::LoopState::InvariantEntry'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/FrameState-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.cpp:22: ./methodjit/LoopState.h:132:12: note: 'struct js::mjit::LoopState::InvariantEntry' declared here struct InvariantEntry { ^~~~~~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsatom.h:14, from ./jsobj.h:20, from ./jsbool.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FastOps.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o LoopState.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/LoopState.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp StubCompiler.cpp c++ -o StubCompiler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/StubCompiler.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp MonoIC.cpp In file included from ./jsapi.h:26, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsapi.h:26, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jscntxt.h:28, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o MonoIC.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MonoIC.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp PolyIC.cpp In file included from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:26, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/FrameState.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:9: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/FrameState.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:9: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/FrameState.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:9: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/FrameState.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:9: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/FrameState.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:9: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./methodjit/FrameState.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:9: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::FrameState::ActiveFrame]': ./methodjit/FrameState.h:1046:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::FrameState::ActiveFrame'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/StubCompiler.h:13, from ./methodjit/Compiler.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./methodjit/FrameState.h:1045:12: note: 'struct js::mjit::FrameState::ActiveFrame' declared here struct ActiveFrame { ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::LoopState::InvariantEntry]': ./methodjit/LoopState.h:180:40: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::LoopState::InvariantEntry'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.cpp:9: ./methodjit/LoopState.h:132:12: note: 'struct js::mjit::LoopState::InvariantEntry' declared here struct InvariantEntry { ^~~~~~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from ./jscompartment.h:11, from ./jsanalyze.h:13, from ./methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/LoopState.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/FrameState.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:9: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::FrameState::ActiveFrame]': ./methodjit/FrameState.h:1046:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::FrameState::ActiveFrame'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:9: ./methodjit/FrameState.h:1045:12: note: 'struct js::mjit::FrameState::ActiveFrame' declared here struct ActiveFrame { ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::LoopState::InvariantEntry]': ./methodjit/LoopState.h:180:40: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::LoopState::InvariantEntry'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/FrameState-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.cpp:12: ./methodjit/LoopState.h:132:12: note: 'struct js::mjit::LoopState::InvariantEntry' declared here struct InvariantEntry { ^~~~~~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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 ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:17: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:17: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ c++ -o PolyIC.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/PolyIC.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp ImmutableSync.cpp In file included from ./jsapi.h:26, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/BaseAssembler.h:16, from ./methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:17: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/BaseAssembler.h:16, from ./methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:17: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:17: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:17: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:17: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:17: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:17: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::FrameState::ActiveFrame]': ./methodjit/FrameState.h:1046:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::FrameState::ActiveFrame'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/StubCompiler.h:13, from ./methodjit/Compiler.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.cpp:18: ./methodjit/FrameState.h:1045:12: note: 'struct js::mjit::FrameState::ActiveFrame' declared here struct ActiveFrame { ^~~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MonoIC.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' ./frontend/BytecodeEmitter.h:149:45: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ In file included from ./jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ c++ -o ImmutableSync.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ImmutableSync.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/ImmutableSync.cpp InvokeHelpers.cpp c++ -o InvokeHelpers.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/InvokeHelpers.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp Retcon.cpp In file included from ./jsapi.h:26, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jscntxt.h:28, from ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.cpp:7: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/PolyIC.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' ./frontend/BytecodeEmitter.h:149:45: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o Retcon.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Retcon.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp TrampolineCompiler.cpp In file included from ./jsapi.h:26, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/MonoIC.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:23: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/MonoIC.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:23: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ c++ -o TrampolineCompiler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/TrampolineCompiler.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp ExecutableAllocator.cpp In file included from ./jsapi.h:26, from ./assembler/jit/ExecutableAllocator.h:33, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:22: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/StubCalls.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:22: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from ./methodjit/MonoIC.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:23: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jscntxt.h:28, from ./methodjit/RematInfo.h:11, from ./methodjit/PunboxAssembler.h:13, from ./methodjit/CodeGenIncludes.h:25, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from ./jscompartment.h:11, from ./jsanalyze.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/InvokeHelpers.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' ./frontend/BytecodeEmitter.h:149:45: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/BaseAssembler.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsapi.h:22, from ./jscntxt.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::FrameState::ActiveFrame]': ./methodjit/FrameState.h:1046:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::FrameState::ActiveFrame'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/StubCompiler.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Compiler.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:19, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.cpp:10: ./methodjit/FrameState.h:1045:12: note: 'struct js::mjit::FrameState::ActiveFrame' declared here struct ActiveFrame { ^~~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/Retcon.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26: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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ./ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ./ds/InlineMap.h:257: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]' ./frontend/BytecodeEmitter.h:149:45: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o ExecutableAllocator.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocator.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/assembler/jit/ExecutableAllocator.cpp PageBlock.cpp In file included from ./jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/assembler/jit/ExecutableAllocator.h:33, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/assembler/jit/ExecutableAllocator.cpp:26: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o PageBlock.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/PageBlock.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/PageBlock.cpp YarrInterpreter.cpp c++ -o YarrInterpreter.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/YarrInterpreter.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrInterpreter.cpp YarrPattern.cpp c++ -o YarrPattern.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/YarrPattern.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrPattern.cpp YarrSyntaxChecker.cpp In file included from ./jsapi.h:26, from ./jsstr.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/wtfbridge.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrPattern.h:34, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrPattern.cpp:31: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./methodjit/RematInfo.h:11, from ./methodjit/PunboxAssembler.h:13, from ./methodjit/CodeGenIncludes.h:25, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from ./methodjit/RematInfo.h:11, from ./methodjit/PunboxAssembler.h:13, from ./methodjit/CodeGenIncludes.h:25, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsalloc.h:12, from ./assembler/jit/ExecutableAllocator.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from ./methodjit/RematInfo.h:11, from ./methodjit/PunboxAssembler.h:13, from ./methodjit/CodeGenIncludes.h:25, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./assembler/jit/ExecutableAllocator.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 ./methodjit/RematInfo.h:11, from ./methodjit/PunboxAssembler.h:13, from ./methodjit/CodeGenIncludes.h:25, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./assembler/jit/ExecutableAllocator.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 ./methodjit/RematInfo.h:11, from ./methodjit/PunboxAssembler.h:13, from ./methodjit/CodeGenIncludes.h:25, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./assembler/jit/ExecutableAllocator.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/BaseAssembler.h:16, from ./methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./assembler/jit/ExecutableAllocator.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/BaseAssembler.h:16, from ./methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./assembler/jit/ExecutableAllocator.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./methodjit/RematInfo.h:11, from ./methodjit/PunboxAssembler.h:13, from ./methodjit/CodeGenIncludes.h:25, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsalloc.h:12, from ./assembler/jit/ExecutableAllocator.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:26, from ./jsstr.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/wtfbridge.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrPattern.h:34, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrInterpreter.h:33, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrInterpreter.cpp:31: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsalloc.h:12, from ./assembler/jit/ExecutableAllocator.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsalloc.h:12, from ./assembler/jit/ExecutableAllocator.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./assembler/jit/ExecutableAllocator.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./assembler/jit/ExecutableAllocator.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from ./methodjit/BaseAssembler.h:19, from ./methodjit/CodeGenIncludes.h:30, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsalloc.h:12, from ./assembler/jit/ExecutableAllocator.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from ./methodjit/RematInfo.h:11, from ./methodjit/PunboxAssembler.h:13, from ./methodjit/CodeGenIncludes.h:25, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.cpp:8: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./assembler/jit/ExecutableAllocator.h:34, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/methodjit/TrampolineCompiler.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o YarrSyntaxChecker.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/YarrSyntaxChecker.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrSyntaxChecker.cpp ExecutableAllocatorPosix.cpp In file included from ./jsapi.h:26, from ./jsstr.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/wtfbridge.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrSyntaxChecker.h:33, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrSyntaxChecker.cpp:30: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o ExecutableAllocatorPosix.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocatorPosix.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/assembler/jit/ExecutableAllocatorPosix.cpp OSAllocatorPosix.cpp In file included from ./jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/assembler/jit/ExecutableAllocator.h:33, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/assembler/jit/ExecutableAllocatorPosix.cpp:26: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o OSAllocatorPosix.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/OSAllocatorPosix.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/OSAllocatorPosix.cpp ARMAssembler.cpp c++ -o ARMAssembler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ARMAssembler.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/assembler/assembler/ARMAssembler.cpp MacroAssemblerARM.cpp c++ -o MacroAssemblerARM.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MacroAssemblerARM.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/assembler/assembler/MacroAssemblerARM.cpp MacroAssemblerX86Common.cpp c++ -o MacroAssemblerX86Common.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MacroAssemblerX86Common.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/assembler/assembler/MacroAssemblerX86Common.cpp YarrJIT.cpp In file included from ./jsapi.h:26, from ./jsstr.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/wtfbridge.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/OSAllocator.h:34, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/OSAllocatorPosix.cpp:34: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsapi.h:26, from ./assembler/jit/ExecutableAllocator.h:33, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/assembler/assembler/AssemblerBuffer.h:38, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/assembler/assembler/X86Assembler.h:37, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/assembler/assembler/MacroAssemblerX86Common.h:37, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/assembler/assembler/MacroAssemblerX86Common.cpp:12: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o YarrJIT.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/YarrJIT.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrJIT.cpp jsperf.cpp In file included from ./jsapi.h:26, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/assembler/AssemblerBuffer.h:38, from ./assembler/assembler/X86Assembler.h:37, from ./assembler/assembler/MacroAssemblerX86Common.h:37, from ./assembler/assembler/MacroAssemblerX86_64.h:37, from ./assembler/assembler/MacroAssembler.h:54, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrJIT.h:37, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrJIT.cpp:30: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o jsperf.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsperf.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp pm_stub.cpp c++ -o pm_stub.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pm_stub.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/pm_stub.cpp HashFunctions.cpp In file included from ./jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/pm_stub.cpp:6: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ./jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:6: ./gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ./gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o HashFunctions.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/HashFunctions.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/HashFunctions.cpp SHA1.cpp c++ -o SHA1.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/SHA1.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/mfbt/SHA1.cpp In file included from ./jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:7: ./ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ./ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:10: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:7: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:10: ./jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ./jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ./jsatom.h:18, from ./jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:7: ./gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ./jspropertycache.h:134:21: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:7: ./jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:145:21: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:7: ./jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:291:36: required from here ./jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:7: ./jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ./methodjit/MethodJIT.h:747:37: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:10: ./methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ./methodjit/MethodJIT.h:783:36: required from here ./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsprobes.h:20, from ./jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:10: ./methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ./jsscopeinlines.h:54:17: required from here ./jsutil.h:181:11: 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 ./jsscript.h:18, from ./jsfun.h:16, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:7: ./jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:64:30: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:10: ./jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:747:32: required from here ./jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:10: ./jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:789:33: required from here ./jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:10: ./jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:851:21: required from here ./jsutil.h:181:11: 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 ./jsinferinlines.h:10, from ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:10: ./jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:672:39: required from here ./jsutil.h:181:11: 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 ./jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:10: ./jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.h:9, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:6: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1352:17: required from here ./jsutil.h:181:11: 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 ./jsobj.h:23, from ./jsfun.h:14, from ./vm/Stack.h:12, from ./jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.cpp:7: ./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ./jsprvtd.h:28, from ./jsclass.h:17, from ./jsfriendapi.h:10, from ./jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/perf/jsperf.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ./vm/SPSProfiler.h:252:41: required from here ./dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrJIT.cpp: In member function 'void JSC::Yarr::YarrGenerator::opCompileAlternative(JSC::Yarr::PatternAlternative*)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrJIT.cpp:359:12: warning: '.JSC::Yarr::YarrGenerator::YarrOp::m_term' may be used uninitialized in this function [-Wmaybe-uninitialized] struct YarrOp { ^~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrJIT.cpp:359:12: warning: '.JSC::Yarr::YarrGenerator::YarrOp::m_alternative' may be used uninitialized in this function [-Wmaybe-uninitialized] /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrJIT.cpp:359:12: warning: '.JSC::Yarr::YarrGenerator::YarrOp::m_previousOp' may be used uninitialized in this function [-Wmaybe-uninitialized] /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrJIT.cpp:359:12: warning: '.JSC::Yarr::YarrGenerator::YarrOp::m_nextOp' may be used uninitialized in this function [-Wmaybe-uninitialized] /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrJIT.cpp:359:12: warning: '.JSC::Yarr::YarrGenerator::YarrOp::m_checkAdjust' may be used uninitialized in this function [-Wmaybe-uninitialized] /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrJIT.cpp: In function 'void JSC::Yarr::jitCompile(JSC::Yarr::YarrPattern&, JSC::Yarr::JSGlobalData*, JSC::Yarr::YarrCodeBlock&)': /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrJIT.cpp:359:12: warning: '.JSC::Yarr::YarrGenerator::YarrOp::m_term' may be used uninitialized in this function [-Wmaybe-uninitialized] struct YarrOp { ^~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrJIT.cpp:359:12: warning: '.JSC::Yarr::YarrGenerator::YarrOp::m_alternative' may be used uninitialized in this function [-Wmaybe-uninitialized] /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrJIT.cpp:359:12: warning: '.JSC::Yarr::YarrGenerator::YarrOp::m_previousOp' may be used uninitialized in this function [-Wmaybe-uninitialized] /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrJIT.cpp:359:12: warning: '.JSC::Yarr::YarrGenerator::YarrOp::m_nextOp' may be used uninitialized in this function [-Wmaybe-uninitialized] /construction/lang/spidermonkey170/mozjs17.0.0/js/src/yarr/YarrJIT.cpp:359:12: warning: '.JSC::Yarr::YarrGenerator::YarrOp::m_checkAdjust' may be used uninitialized in this function [-Wmaybe-uninitialized] rm -f libjs_static.a /usr/local/bin/python2.7 ./config/pythonpath.py -I./config ./config/expandlibs_gen.py --depend .deps/libjs_static.a.desc.pp -o libjs_static.a.desc bignum-dtoa.o bignum.o cached-powers.o diy-fp.o double-conversion.o fast-dtoa.o fixed-dtoa.o strtod.o jsalloc.o jsanalyze.o jsapi.o jsarray.o jsatom.o jsbool.o jsclone.o jscntxt.o jscompartment.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsexn.o jsfriendapi.o jsfun.o jsgc.o jscrashreport.o jsinfer.o jsinterp.o jsiter.o jslog2.o jsmath.o jsnativestack.o jsnum.o jsobj.o json.o jsonparser.o jsopcode.o jsproxy.o jsprf.o jsprobes.o jspropertycache.o jspropertytree.o jsreflect.o jsscope.o jsscript.o jsstr.o jstypedarray.o jsutil.o jswatchpoint.o jsweakmap.o jswrapper.o jsxml.o prmjtime.o sharkctl.o ArgumentsObject.o ScopeObject.o Debugger.o GlobalObject.o ObjectImpl.o Stack.o String.o BytecodeCompiler.o BytecodeEmitter.o FoldConstants.o NameFunctions.o ParallelArray.o ParseMaps.o ParseNode.o Parser.o SPSProfiler.o TokenStream.o TestingFunctions.o LifoAlloc.o Eval.o MapObject.o MemoryMetrics.o RegExpObject.o RegExpStatics.o RegExp.o Marking.o Memory.o Statistics.o StoreBuffer.o StringBuffer.o Unicode.o Xdr.o MethodJIT.o StubCalls.o Compiler.o FrameState.o FastArithmetic.o FastBuiltins.o FastOps.o LoopState.o StubCompiler.o MonoIC.o PolyIC.o ImmutableSync.o InvokeHelpers.o Retcon.o TrampolineCompiler.o ExecutableAllocator.o PageBlock.o YarrInterpreter.o YarrPattern.o YarrSyntaxChecker.o ExecutableAllocatorPosix.o OSAllocatorPosix.o ARMAssembler.o MacroAssemblerARM.o MacroAssemblerX86Common.o YarrJIT.o jsperf.o pm_stub.o HashFunctions.o SHA1.o rm -f libmozjs-17.0.so /usr/local/bin/python2.7 ./config/pythonpath.py -I./config ./config/expandlibs_exec.py --depend .deps/libmozjs-17.0.so.pp --target libmozjs-17.0.so --uselist -- c++ -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -fPIC -shared -Wl,-z,defs -Wl,-h,libmozjs-17.0.so -o libmozjs-17.0.so bignum-dtoa.o bignum.o cached-powers.o diy-fp.o double-conversion.o fast-dtoa.o fixed-dtoa.o strtod.o jsalloc.o jsanalyze.o jsapi.o jsarray.o jsatom.o jsbool.o jsclone.o jscntxt.o jscompartment.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsexn.o jsfriendapi.o jsfun.o jsgc.o jscrashreport.o jsinfer.o jsinterp.o jsiter.o jslog2.o jsmath.o jsnativestack.o jsnum.o jsobj.o json.o jsonparser.o jsopcode.o jsproxy.o jsprf.o jsprobes.o jspropertycache.o jspropertytree.o jsreflect.o jsscope.o jsscript.o jsstr.o jstypedarray.o jsutil.o jswatchpoint.o jsweakmap.o jswrapper.o jsxml.o prmjtime.o sharkctl.o ArgumentsObject.o ScopeObject.o Debugger.o GlobalObject.o ObjectImpl.o Stack.o String.o BytecodeCompiler.o BytecodeEmitter.o FoldConstants.o NameFunctions.o ParallelArray.o ParseMaps.o ParseNode.o Parser.o SPSProfiler.o TokenStream.o TestingFunctions.o LifoAlloc.o Eval.o MapObject.o MemoryMetrics.o RegExpObject.o RegExpStatics.o RegExp.o Marking.o Memory.o Statistics.o StoreBuffer.o StringBuffer.o Unicode.o Xdr.o MethodJIT.o StubCalls.o Compiler.o FrameState.o FastArithmetic.o FastBuiltins.o FastOps.o LoopState.o StubCompiler.o MonoIC.o PolyIC.o ImmutableSync.o InvokeHelpers.o Retcon.o TrampolineCompiler.o ExecutableAllocator.o PageBlock.o YarrInterpreter.o YarrPattern.o YarrSyntaxChecker.o ExecutableAllocatorPosix.o OSAllocatorPosix.o ARMAssembler.o MacroAssemblerARM.o MacroAssemblerX86Common.o YarrJIT.o jsperf.o pm_stub.o HashFunctions.o SHA1.o -pthread -L/usr/local/lib -Wl,--icf=safe -Wl,-rpath-link,./dist/bin -Wl,-rpath-link,/usr/local/lib -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -ldl -lm -lz -pthread chmod +x libmozjs-17.0.so /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -R -m 755 libmozjs-17.0.so ./dist/lib /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -R -m 755 libmozjs-17.0.so ./dist/bin /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -R -m 755 host_jskwgen host_jsoplengen ./dist/host/bin gmake -C config libs gmake[3]: Entering directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/config' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -R -m 755 nsinstall ../dist/host/bin gmake[3]: Leaving directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/config' gmake -C shell libs gmake[3]: Entering directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell' js.cpp c++ -o js.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../shell -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/js.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp jsoptparse.cpp c++ -o jsoptparse.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../shell -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/jsoptparse.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsoptparse.cpp jsheaptools.cpp c++ -o jsheaptools.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../shell -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/jsheaptools.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsapi.h:26, from ../jswrapper.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:24: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jscntxt.h:28, from ../jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:26: ../ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ../ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ../jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:13: ../ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ../ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ../jstypedarrayinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:42: ../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ../jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ../jsatom.h:18, from ../jscntxt.h:20, from ../jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:26: ../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ../jstypedarrayinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:42: ../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ../jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ../jsatom.h:18, from ../jscntxt.h:20, from ../jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:26: ../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:22: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ../jspropertycache.h:134:21: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jscntxt.h:23, from ../jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:26: ../jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:22: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ../jscntxt.h:145:21: required from here ../jsutil.h:181:11: 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 ../jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:26: ../jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:22: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ../jscntxt.h:291:36: required from here ../jsutil.h:181:11: 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 ../jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:26: ../jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:22: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ../methodjit/MethodJIT.h:747:37: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsprobes.h:20, from ../jsobjinlines.h:22, from ../jstypedarrayinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:42: ../methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:22: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ../methodjit/MethodJIT.h:783:36: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsprobes.h:20, from ../jsobjinlines.h:22, from ../jstypedarrayinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:42: ../methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:22: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ../jsscopeinlines.h:54:17: required from here ../jsutil.h:181:11: 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 ../jsscript.h:18, from ../jsfun.h:16, from ../vm/Stack.h:12, from ../jscntxt.h:32, from ../jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:26: ../jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:22: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ../jsanalyze.h:64:30: required from here ../jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from ../jstypedarrayinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:42: ../jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:22: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ../jsanalyze.h:747:32: required from here ../jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from ../jstypedarrayinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:42: ../jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:22: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ../jsanalyze.h:789:33: required from here ../jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from ../jstypedarrayinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:42: ../jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:22: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ../jsanalyze.h:851:21: required from here ../jsutil.h:181:11: 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 ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from ../jstypedarrayinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:42: ../jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:20: ../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ../jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ../jsatom.h:18, from ../jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:13: ../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:20: ../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ../jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ../jsatom.h:18, from ../jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:13: ../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ../jspropertycache.h:134:21: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:13: ../jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ../jscntxt.h:145:21: required from here ../jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:13: ../jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ../jscntxt.h:291:36: required from here ../jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:13: ../jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:22: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ../jsinferinlines.h:672:39: required from here ../jsutil.h:181:11: 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 ../jsobjinlines.h:45, from ../jstypedarrayinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:42: ../jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:22: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ../jsinferinlines.h:1352:17: required from here ../jsutil.h:181:11: 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 ../jsobj.h:23, from ../jsfun.h:14, from ../vm/Stack.h:12, from ../jscntxt.h:32, from ../jsarray.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:26: ../jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ../jsprvtd.h:28, from ../jsclass.h:17, from ../jsfriendapi.h:10, from ../jsproxy.h:12, from ../jswrapper.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ../vm/SPSProfiler.h:252:41: required from here ../dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dist/include/js/HashTable.h:26: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 ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ../methodjit/MethodJIT.h:747:37: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsprobes.h:20, from ../jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:20: ../methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ../methodjit/MethodJIT.h:783:36: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsprobes.h:20, from ../jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:20: ../methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ../jsscopeinlines.h:54:17: required from here ../jsutil.h:181:11: 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 ../jsscript.h:18, from ../jsfun.h:16, from ../vm/Stack.h:12, from ../jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:13: ../jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ../jsanalyze.h:64:30: required from here ../jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:20: ../jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ../jsanalyze.h:747:32: required from here ../jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:20: ../jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ../jsanalyze.h:789:33: required from here ../jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:20: ../jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ../jsanalyze.h:851:21: required from here ../jsutil.h:181:11: 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 ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:20: ../jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ../jsinferinlines.h:672:39: required from here ../jsutil.h:181:11: 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 ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:20: ../jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ../jsinferinlines.h:1352:17: required from here ../jsutil.h:181:11: 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 ../jsobj.h:23, from ../jsfun.h:14, from ../vm/Stack.h:12, from ../jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.cpp:13: ../jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ../jsprvtd.h:28, from ../jsclass.h:17, from ../jsfriendapi.h:10, from ../jscntxt.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/jsheaptools.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ../vm/SPSProfiler.h:252:41: required from here ../dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dist/include/js/HashTable.h:26: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:1168:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::TempAllocPolicy]' ../ds/InlineMap.h:56:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ../ds/InlineMap.h:76:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' ../ds/InlineMap.h:257: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]' ../frontend/BytecodeEmitter.h:149:45: required from here ../dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ In file included from ../jswrapper.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:24: ../jsapi.h: In function 'JSBool Evaluate(JSContext*, unsigned int, jsval*)': ../jsapi.h:3061:22: warning: '*((void*)(& ancx)+40).JSAutoRequest::mContext' may be used uninitialized in this function [-Wmaybe-uninitialized] JS_EndRequest(mContext); ~~~~~~~~~~~~~^~~~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:891:20: note: '*((void*)(& ancx)+40).JSAutoRequest::mContext' was declared here AutoNewContext ancx; ^~~~ In file included from ../jswrapper.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:24: ../jsapi.h:3098:29: warning: '*((void*)(& ancx)+16).JSAutoSuspendRequest::mContext' may be used uninitialized in this function [-Wmaybe-uninitialized] JS_ResumeRequest(mContext, mSaveDepth); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:891:20: note: '*((void*)(& ancx)+16).JSAutoSuspendRequest::mContext' was declared here AutoNewContext ancx; ^~~~ In file included from ../jswrapper.h:13, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:24: ../jsapi.h:3098:29: warning: '*((void*)(& ancx)+16).JSAutoSuspendRequest::mSaveDepth' may be used uninitialized in this function [-Wmaybe-uninitialized] JS_ResumeRequest(mContext, mSaveDepth); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell/js.cpp:891:20: note: '*((void*)(& ancx)+16).JSAutoSuspendRequest::mSaveDepth' was declared here AutoNewContext ancx; ^~~~ /usr/local/bin/python2.7 ../config/pythonpath.py -I../config ../config/expandlibs_exec.py --depend .deps/js17.pp --target js17 --uselist -- c++ -o js17 -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer js.o jsoptparse.o jsheaptools.o -pthread -L/usr/local/lib -Wl,--icf=safe -Wl,-rpath-link,../dist/bin -Wl,-rpath-link,/usr/local/lib -L../dist/bin -L../dist/lib -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -ldl -lreadline ../libjs_static.a -lz /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -R -m 755 js17 ../dist/bin /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -R -m 755 js17 .. gmake[3]: Leaving directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell' gmake -C jsapi-tests libs gmake[3]: Entering directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests' valueABI.c cc -o valueABI.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Wtype-limits -Wempty-body -Wno-unused -Wno-overlength-strings -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -include ../js-confdefs.h -DMOZILLA_CLIENT -MD -MF .deps/valueABI.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/valueABI.c tests.cpp c++ -o tests.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/tests.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.cpp selfTest.cpp c++ -o selfTest.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/selfTest.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/selfTest.cpp testAddPropertyPropcache.cpp c++ -o testAddPropertyPropcache.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testAddPropertyPropcache.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp testArgumentsObject.cpp c++ -o testArgumentsObject.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testArgumentsObject.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp testBindCallable.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testAddPropertyPropcache.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/selfTest.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.cpp:8: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o testBindCallable.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testBindCallable.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testBindCallable.cpp testBug604087.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testBindCallable.cpp:5: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsinfer.h:18, from ../jsobj.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.cpp:10: ../ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ../ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o testBug604087.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testBug604087.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testBug604087.cpp testCallNonGenericMethodOnProxy.cpp c++ -o testCallNonGenericMethodOnProxy.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testCallNonGenericMethodOnProxy.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp testChromeBuffer.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testBug604087.cpp:11: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testCallNonGenericMethodOnProxy.cpp:5: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o testChromeBuffer.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testChromeBuffer.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testChromeBuffer.cpp testClassGetter.cpp In file included from ../jsinfer.h:18, from ../jsobj.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testBug604087.cpp:12: ../ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ../ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ../jscntxt.h:28, from ../vm/Stack-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:11: ../ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ../ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testChromeBuffer.cpp:5: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o testClassGetter.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testClassGetter.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testClassGetter.cpp testCloneScript.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testClassGetter.cpp:11: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o testCloneScript.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testCloneScript.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testCloneScript.cpp testConservativeGC.cpp c++ -o testConservativeGC.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testConservativeGC.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testConservativeGC.cpp testContexts.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testCloneScript.cpp:11: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testConservativeGC.cpp:5: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o testContexts.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testContexts.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testContexts.cpp testCustomIterator.cpp c++ -o testCustomIterator.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testCustomIterator.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testCustomIterator.cpp testDebugger.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testContexts.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testCustomIterator.cpp:5: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o testDebugger.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testDebugger.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testDebugger.cpp testDeepFreeze.cpp In file included from ../jsinfer.h:18, from ../jsobj.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testConservativeGC.cpp:6: ../ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ../ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o testDeepFreeze.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testDeepFreeze.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testDeepFreeze.cpp testDefineGetterSetterNonEnumerable.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testDebugger.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testDeepFreeze.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testDebugger.cpp:11: ../ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ../ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o testDefineGetterSetterNonEnumerable.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testDefineGetterSetterNonEnumerable.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp testDefineProperty.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testDefineGetterSetterNonEnumerable.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o testDefineProperty.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testDefineProperty.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testDefineProperty.cpp testExtendedEq.cpp c++ -o testExtendedEq.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testExtendedEq.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testExtendedEq.cpp testExternalStrings.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testExtendedEq.cpp:12: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testDefineProperty.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsscopeinlines.h:28, from ../jsscriptinlines.h:21, from ../vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:11: ../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ../jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ../jsatom.h:18, from ../jscntxt.h:20, from ../vm/Stack-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:11: ../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ../jsscopeinlines.h:28, from ../jsscriptinlines.h:21, from ../vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:11: ../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ../jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ../jsatom.h:18, from ../jscntxt.h:20, from ../vm/Stack-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:11: ../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ../jspropertycache.h:134:21: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jscntxt.h:23, from ../vm/Stack-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:11: ../jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ../jscntxt.h:145:21: required from here ../jsutil.h:181:11: 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 ../vm/Stack-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:11: ../jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ../jscntxt.h:291:36: required from here ../jsutil.h:181:11: 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 ../vm/Stack-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:11: ../jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ../methodjit/MethodJIT.h:747:37: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:11: ../methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ../methodjit/MethodJIT.h:783:36: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../vm/Stack-inl.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:11: ../methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ../jsanalyze.h:64:30: required from here ../jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from ../jsscopeinlines.h:28, from ../jsscriptinlines.h:21, from ../vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:11: ../jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ../jsanalyze.h:747:32: required from here ../jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from ../jsscopeinlines.h:28, from ../jsscriptinlines.h:21, from ../vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:11: ../jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ../jsanalyze.h:789:33: required from here ../jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from ../jsscopeinlines.h:28, from ../jsscriptinlines.h:21, from ../vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:11: ../jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ../jsanalyze.h:851:21: required from here ../jsutil.h:181:11: 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 ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from ../jsscopeinlines.h:28, from ../jsscriptinlines.h:21, from ../vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:11: ../jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ../jsinferinlines.h:672:39: required from here ../jsutil.h:181:11: 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 ../jsobjinlines.h:45, from ../jsscopeinlines.h:28, from ../jsscriptinlines.h:21, from ../vm/Stack-inl.h:17, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:11: ../jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ../jsinferinlines.h:1352:17: required from here ../jsutil.h:181:11: 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 ../jsobj.h:23, from ../jsfun.h:14, from ../vm/Stack.h:12, from ../jscntxt.h:32, from ../vm/Stack-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:11: ../jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ../jsscopeinlines.h:54:17: required from here ../jsutil.h:181:11: 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 ../jsscript.h:18, from ../jsfun.h:16, from ../vm/Stack.h:12, from ../jscntxt.h:32, from ../vm/Stack-inl.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.cpp:11: ../jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ../jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testArgumentsObject.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ../vm/SPSProfiler.h:252:41: required from here ../dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o testExternalStrings.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testExternalStrings.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testExternalStrings.cpp testFuncCallback.cpp In file included from ../jsinfer.h:18, from ../jsobj.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testExtendedEq.cpp:13: ../ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ../ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testExternalStrings.cpp:5: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testDebugger.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ../jspropertycache.h:134:21: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testDebugger.cpp:11: ../jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testDebugger.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ../jscntxt.h:145:21: required from here ../jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testDebugger.cpp:11: ../jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testDebugger.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ../jscntxt.h:291:36: required from here ../jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testDebugger.cpp:11: ../jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ../jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testDebugger.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ../vm/SPSProfiler.h:252:41: required from here ../dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o testFuncCallback.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testFuncCallback.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp testFunctionProperties.cpp In file included from ../jspropertycache.h:15, from ../jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testDebugger.cpp:11: ../vm/String.h: At global scope: ../vm/String.h:398:24: warning: inline function 'static void JSString::writeBarrierPost(JSString*, void*)' used but never defined static inline void writeBarrierPost(JSString *str, void *addr); ^~~~~~~~~~~~~~~~ ../vm/String.h:397:24: warning: inline function 'static void JSString::writeBarrierPre(JSString*)' used but never defined static inline void writeBarrierPre(JSString *str); ^~~~~~~~~~~~~~~ c++ -o testFunctionProperties.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testFunctionProperties.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFunctionProperties.cpp testGCOutOfMemory.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFunctionProperties.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o testGCOutOfMemory.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testGCOutOfMemory.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testGCOutOfMemory.cpp testOOM.cpp In file included from ../jsinfer.h:18, from ../jsobj.h:23, from ../jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:6: ../ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ../ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:10: ../ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ../ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o testOOM.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testOOM.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOOM.cpp testGetPropertyDefault.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOOM.cpp:5: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o testGetPropertyDefault.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testGetPropertyDefault.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testGetPropertyDefault.cpp testHashTable.cpp In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ../jspropertycache.h:134:21: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:10: ../jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ../jscntxt.h:145:21: required from here ../jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:10: ../jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ../jscntxt.h:291:36: required from here ../jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:10: ../jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ../jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:11, from /construction/lang/spidermonkey170/mozjs17.0.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ../vm/SPSProfiler.h:252:41: required from here ../dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dist/include/js/HashTable.h:26: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 ../jspropertycache.h:15, from ../jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testGCOutOfMemory.cpp:10: ../vm/String.h: At global scope: ../vm/String.h:398:24: warning: inline function 'static void JSString::writeBarrierPost(JSString*, void*)' used but never defined static inline void writeBarrierPost(JSString *str, void *addr); ^~~~~~~~~~~~~~~~ ../vm/String.h:397:24: warning: inline function 'static void JSString::writeBarrierPre(JSString*)' used but never defined static inline void writeBarrierPre(JSString *str); ^~~~~~~~~~~~~~~ In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testGetPropertyDefault.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o testHashTable.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testHashTable.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testHashTable.cpp testIndexToString.cpp c++ -o testIndexToString.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testIndexToString.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp testIntString.cpp c++ -o testIntString.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testIntString.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIntString.cpp testIntTypesABI.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testHashTable.cpp:5: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIntString.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:11, from /construction/lang/spidermonkey170/mozjs17.0.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:1168:57: required from 'void js::HashMap::clear() [with Key = unsigned int; Value = unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testHashTable.cpp:204:18: required from here ../dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dist/include/js/HashTable.h:26: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:1379:57: required from 'void js::HashSet::clear() [with T = unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testHashTable.cpp:226:18: required from here ../dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o testIntTypesABI.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testIntTypesABI.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIntTypesABI.cpp testIntern.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:9: ../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ../jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ../jsatom.h:18, from ../jsobj.h:20, from ../jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:6: ../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:9: ../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ../jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ../jsatom.h:18, from ../jsobj.h:20, from ../jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:6: ../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ c++ -o testIntern.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testIntern.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIntern.cpp testLookup.cpp In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ../jspropertycache.h:134:21: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:7: ../jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ../jscntxt.h:145:21: required from here ../jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:7: ../jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ../jscntxt.h:291:36: required from here ../jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:7: ../jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ../methodjit/MethodJIT.h:747:37: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsprobes.h:20, from ../jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:9: ../methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ../methodjit/MethodJIT.h:783:36: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsprobes.h:20, from ../jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:9: ../methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ../jsscopeinlines.h:54:17: required from here ../jsutil.h:181:11: 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 ../jsscript.h:18, from ../jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:6: ../jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ../jsanalyze.h:64:30: required from here ../jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:9: ../jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ../jsanalyze.h:747:32: required from here ../jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:9: ../jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ../jsanalyze.h:789:33: required from here ../jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:9: ../jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ../jsanalyze.h:851:21: required from here ../jsutil.h:181:11: 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 ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:9: ../jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ../jsinferinlines.h:672:39: required from here ../jsutil.h:181:11: 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 ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:9: ../jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ../jsinferinlines.h:1352:17: required from here ../jsutil.h:181:11: 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 ../jsobj.h:23, from ../jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testFuncCallback.cpp:6: ../jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ../jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:11, from /construction/lang/spidermonkey170/mozjs17.0.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ../vm/SPSProfiler.h:252:41: required from here ../dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dist/include/js/HashTable.h:26: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 ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIntTypesABI.cpp:5: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIntern.cpp:5: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:11: ../ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ../ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o testLookup.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testLookup.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp testLooselyEqual.cpp c++ -o testLooselyEqual.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testLooselyEqual.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLooselyEqual.cpp testNewObject.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLooselyEqual.cpp:5: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsinfer.h:18, from ../jsobj.h:23, from ../jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:10: ../ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ../ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o testNewObject.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testNewObject.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testNewObject.cpp testOps.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testNewObject.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:16: ../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ../jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ../jsatom.h:18, from ../jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:11: ../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ../vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:16: ../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ../jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ../jsatom.h:18, from ../jscntxt.h:20, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:11: ../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ../jspropertycache.h:134:21: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:11: ../jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ../jscntxt.h:145:21: required from here ../jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:11: ../jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ../jscntxt.h:291:36: required from here ../jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:11: ../jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ../methodjit/MethodJIT.h:747:37: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsprobes.h:20, from ../vm/String-inl.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:16: ../methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ../methodjit/MethodJIT.h:783:36: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsprobes.h:20, from ../vm/String-inl.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:16: ../methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ../jsscopeinlines.h:54:17: required from here ../jsutil.h:181:11: 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 ../jsscript.h:18, from ../jsfun.h:16, from ../vm/Stack.h:12, from ../jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:11: ../jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ../jsanalyze.h:64:30: required from here ../jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from ../vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:16: ../jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ../jsanalyze.h:747:32: required from here ../jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from ../vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:16: ../jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ../jsanalyze.h:789:33: required from here ../jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from ../vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:16: ../jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ../jsanalyze.h:851:21: required from here ../jsutil.h:181:11: 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 ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from ../vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:16: ../jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ../jsinferinlines.h:672:39: required from here ../jsutil.h:181:11: 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 ../jsobjinlines.h:45, from ../vm/String-inl.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:16: ../jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ../jsinferinlines.h:1352:17: required from here ../jsutil.h:181:11: 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 ../jsobj.h:23, from ../jsfun.h:14, from ../vm/Stack.h:12, from ../jscntxt.h:32, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.cpp:11: ../jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ../jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testIndexToString.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ../vm/SPSProfiler.h:252:41: required from here ../dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o testOps.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testOps.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOps.cpp testOriginPrincipals.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOps.cpp:11: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o testOriginPrincipals.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testOriginPrincipals.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp testParseJSON.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:12: ../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ../jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ../jsatom.h:18, from ../jsobj.h:20, from ../jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:10: ../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:12: ../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ../jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ../jsatom.h:18, from ../jsobj.h:20, from ../jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:10: ../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ../jspropertycache.h:134:21: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jscntxt.h:23, from ../jsarray.h:12, from ../jsobjinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:12: ../jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ../jscntxt.h:145:21: required from here ../jsutil.h:181:11: 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 ../jsarray.h:12, from ../jsobjinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:12: ../jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ../jscntxt.h:291:36: required from here ../jsutil.h:181:11: 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 ../jsarray.h:12, from ../jsobjinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:12: ../jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ../methodjit/MethodJIT.h:747:37: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsprobes.h:20, from ../jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:12: ../methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ../methodjit/MethodJIT.h:783:36: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsprobes.h:20, from ../jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:12: ../methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ../jsscopeinlines.h:54:17: required from here ../jsutil.h:181:11: 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 ../jsscript.h:18, from ../jsfun.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:10: ../jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ../jsanalyze.h:64:30: required from here ../jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:12: ../jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ../jsanalyze.h:747:32: required from here ../jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:12: ../jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ../jsanalyze.h:789:33: required from here ../jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:12: ../jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ../jsanalyze.h:851:21: required from here ../jsutil.h:181:11: 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 ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:12: ../jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ../jsinferinlines.h:672:39: required from here ../jsutil.h:181:11: 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 ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:12: ../jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ../jsinferinlines.h:1352:17: required from here ../jsutil.h:181:11: 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 ../jsobj.h:23, from ../jsfun.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.cpp:10: ../jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ../jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testLookup.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ../vm/SPSProfiler.h:252:41: required from here ../dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dist/include/js/HashTable.h:26: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 ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:5: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jscntxt.h:28, from ../jsarray.h:12, from ../jsobjinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:7: ../ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ../ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o testParseJSON.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testParseJSON.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testParseJSON.cpp testPropCache.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testParseJSON.cpp:12: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o testPropCache.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testPropCache.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testPropCache.cpp testRegExp.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testPropCache.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o testRegExp.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testRegExp.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testRegExp.cpp testResolveRecursion.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testRegExp.cpp:5: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o testResolveRecursion.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testResolveRecursion.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testResolveRecursion.cpp testSameValue.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testResolveRecursion.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:7: ../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ../jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ../jsatom.h:18, from ../jscntxt.h:20, from ../jsarray.h:12, from ../jsobjinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:7: ../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:7: ../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ../jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ../jsatom.h:18, from ../jscntxt.h:20, from ../jsarray.h:12, from ../jsobjinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:7: ../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ c++ -o testSameValue.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testSameValue.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testSameValue.cpp testScriptInfo.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testSameValue.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ../jspropertycache.h:134:21: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jscntxt.h:23, from ../jsarray.h:12, from ../jsobjinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:7: ../jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ../jscntxt.h:145:21: required from here ../jsutil.h:181:11: 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 ../jsarray.h:12, from ../jsobjinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:7: ../jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ../jscntxt.h:291:36: required from here ../jsutil.h:181:11: 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 ../jsarray.h:12, from ../jsobjinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:7: ../jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ../methodjit/MethodJIT.h:747:37: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsprobes.h:20, from ../jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:7: ../methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ../methodjit/MethodJIT.h:783:36: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsprobes.h:20, from ../jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:7: ../methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ../jsscopeinlines.h:54:17: required from here ../jsutil.h:181:11: 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 ../jsscript.h:18, from ../jsfun.h:16, from ../vm/Stack.h:12, from ../jscntxt.h:32, from ../jsarray.h:12, from ../jsobjinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:7: ../jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ../jsanalyze.h:64:30: required from here ../jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:7: ../jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ../jsanalyze.h:747:32: required from here ../jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:7: ../jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ../jsanalyze.h:789:33: required from here ../jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:7: ../jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ../jsanalyze.h:851:21: required from here ../jsutil.h:181:11: 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 ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:7: ../jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ../jsinferinlines.h:672:39: required from here ../jsutil.h:181:11: 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 ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:7: ../jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ../jsinferinlines.h:1352:17: required from here ../jsutil.h:181:11: 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 ../jsobj.h:23, from ../jsfun.h:14, from ../vm/Stack.h:12, from ../jscntxt.h:32, from ../jsarray.h:12, from ../jsobjinlines.h:14, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testOriginPrincipals.cpp:7: ../jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ c++ -o testScriptInfo.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testScriptInfo.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testScriptInfo.cpp testScriptObject.cpp c++ -o testScriptObject.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testScriptObject.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testScriptObject.cpp testSetProperty.cpp In file included from ../jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:11, from /construction/lang/spidermonkey170/mozjs17.0.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ../vm/SPSProfiler.h:252:41: required from here ../dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry { ^~~~~~~~~~~~~~ c++ -o testSetProperty.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testSetProperty.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testSetProperty.cpp testSourcePolicy.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testScriptObject.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testScriptInfo.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testSetProperty.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o testSourcePolicy.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testSourcePolicy.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testSourcePolicy.cpp testStringBuffer.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testSourcePolicy.cpp:5: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o testStringBuffer.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testStringBuffer.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp testTrap.cpp c++ -o testTrap.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testTrap.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testTrap.cpp testTypedArrays.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testTrap.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o testTypedArrays.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testTypedArrays.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testTypedArrays.cpp testUTF8.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testTypedArrays.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jscntxt.h:28, from ../vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:13: ../ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ../ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o testUTF8.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testUTF8.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testUTF8.cpp testValueABI.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testUTF8.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ c++ -o testValueABI.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testValueABI.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testValueABI.cpp testVersion.cpp c++ -o testVersion.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testVersion.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp testXDR.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testValueABI.cpp:5: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:15: ../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ../jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ../jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:11: ../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:15: ../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ../jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ../jsatom.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:11: ../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ../jspropertycache.h:134:21: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jscntxt.h:23, from ../vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:13: ../jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ../jscntxt.h:145:21: required from here ../jsutil.h:181:11: 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 ../vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:13: ../jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ../jscntxt.h:291:36: required from here ../jsutil.h:181:11: 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 ../vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:13: ../jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ../methodjit/MethodJIT.h:747:37: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsprobes.h:20, from ../jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:15: ../methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ../methodjit/MethodJIT.h:783:36: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsprobes.h:20, from ../jsobjinlines.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:15: ../methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ../jsscopeinlines.h:54:17: required from here ../jsutil.h:181:11: 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 ../jsscript.h:18, from ../jsfun.h:16, from ../vm/Stack.h:12, from ../jscntxt.h:32, from ../vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:13: ../jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ../jsanalyze.h:64:30: required from here ../jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:15: ../jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ../jsanalyze.h:747:32: required from here ../jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:15: ../jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ../jsanalyze.h:789:33: required from here ../jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:15: ../jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ../jsanalyze.h:851:21: required from here ../jsutil.h:181:11: 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 ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:15: ../jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ../jsinferinlines.h:672:39: required from here ../jsutil.h:181:11: 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 ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:15: ../jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:9: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ../jsinferinlines.h:1352:17: required from here ../jsutil.h:181:11: 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 ../jsobj.h:23, from ../jsfun.h:14, from ../vm/Stack.h:12, from ../jscntxt.h:32, from ../vm/StringBuffer.h:12, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.cpp:13: ../jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ../jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testStringBuffer.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ../vm/SPSProfiler.h:252:41: required from here ../dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dist/include/js/HashTable.h:26: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 ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:5: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsinfer.h:18, from ../jsscript.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:6: ../ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ../ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o testXDR.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testXDR.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testXDR.cpp testProfileStrings.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testXDR.cpp:9: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsinfer.h:18, from ../jsscript.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testXDR.cpp:10: ../ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ../ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o testProfileStrings.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testProfileStrings.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testProfileStrings.cpp testJSEvaluateScript.cpp In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:10: ../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)': ../jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); ^ In file included from ../jsinfer.h:19, from ../jsscript.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:6: ../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:10: ../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)': ../jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess] memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); ^ In file included from ../jsinfer.h:19, from ../jsscript.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:6: ../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here class HeapSlot : public EncapsulatedValue ^~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ../jspropertycache.h:134:21: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:7: ../jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ../jscntxt.h:145:21: required from here ../jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:7: ../jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ../jscntxt.h:291:36: required from here ../jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:7: ../jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]': ../methodjit/MethodJIT.h:747:37: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsprobes.h:20, from ../jscntxtinlines.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:9: ../methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here struct ChunkDescriptor ^~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]': ../methodjit/MethodJIT.h:783:36: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsprobes.h:20, from ../jscntxtinlines.h:15, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:9: ../methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here struct CrossChunkEdge ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]': ../jsscopeinlines.h:54:17: required from here ../jsutil.h:181:11: 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 ../jsscript.h:18, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:6: ../jsscope.h:236:7: note: 'class js::BaseShape' declared here class BaseShape : public js::gc::Cell ^~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ../jsanalyze.h:64:30: required from here ../jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:10: ../jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ../jsanalyze.h:747:32: required from here ../jsutil.h:181:11: 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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:10: ../jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here struct SSAPhiNode ^~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]': ../jsanalyze.h:789:33: required from here ../jsutil.h:181: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)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:10: ../jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here class SSAUseChain ^~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ../jsanalyze.h:851:21: required from here ../jsutil.h:181:11: 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 ../jsinferinlines.h:10, from ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:10: ../jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here class ScriptAnalysis ^~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]': ../jsinferinlines.h:672:39: required from here ../jsutil.h:181:11: 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 ../jsobjinlines.h:45, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:10: ../jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here struct AllocationSiteKey { ^~~~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:5: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]': ../jsinferinlines.h:1352:17: required from here ../jsutil.h:181:11: 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 ../jsscript.h:16, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.cpp:6: ../jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here struct TypeObject : gc::Cell ^~~~~~~~~~ In file included from ../jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testVersion.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ../vm/SPSProfiler.h:252:41: required from here ../dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dist/include/js/HashTable.h:26: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 ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testProfileStrings.cpp:11: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testProfileStrings.cpp:13: ../ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ../ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ c++ -o testJSEvaluateScript.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testJSEvaluateScript.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testJSEvaluateScript.cpp testErrorCopying.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testJSEvaluateScript.cpp:5: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testProfileStrings.cpp:11: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ../jspropertycache.h:134:21: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testProfileStrings.cpp:13: ../jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testProfileStrings.cpp:11: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ../jscntxt.h:145:21: required from here ../jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testProfileStrings.cpp:13: ../jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testProfileStrings.cpp:11: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ../jscntxt.h:291:36: required from here ../jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testProfileStrings.cpp:13: ../jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ../jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testProfileStrings.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ../vm/SPSProfiler.h:252:41: required from here ../dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dist/include/js/HashTable.h:26: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 ../jspropertycache.h:15, from ../jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testProfileStrings.cpp:13: ../vm/String.h: At global scope: ../vm/String.h:398:24: warning: inline function 'static void JSString::writeBarrierPost(JSString*, void*)' used but never defined static inline void writeBarrierPost(JSString *str, void *addr); ^~~~~~~~~~~~~~~~ ../vm/String.h:397:24: warning: inline function 'static void JSString::writeBarrierPre(JSString*)' used but never defined static inline void writeBarrierPre(JSString *str); ^~~~~~~~~~~~~~~ c++ -o testErrorCopying.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests -I. -I../dist/include -I/usr/local/include/nspr -fPIC -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testErrorCopying.o.pp /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testErrorCopying.cpp In file included from ../jsapi.h:26, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testErrorCopying.cpp:12: ../gc/Root.h: In constructor 'JS::Handle::Handle(JS::NullPtr)': ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] typedef typename js::tl::StaticAssert::result>::result _; ^ In file included from ../jscntxt.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testErrorCopying.cpp:13: ../ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)': ../ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs] >::result _; ^ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testErrorCopying.cpp:12: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]': ../jspropertycache.h:134:21: required from here ../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testErrorCopying.cpp:13: ../jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here class PropertyCache ^~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testErrorCopying.cpp:12: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]': ../jscntxt.h:145:21: required from here ../jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testErrorCopying.cpp:13: ../jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here struct ConservativeGCData ^~~~~~~~~~~~~~~~~~ In file included from ../jsapi.h:22, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:10, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testErrorCopying.cpp:12: ../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]': ../jscntxt.h:291:36: required from here ../jsutil.h:181:11: 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 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testErrorCopying.cpp:13: ../jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from ../jsprvtd.h:28, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/tests.h:11, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testErrorCopying.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:1168:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' ../vm/SPSProfiler.h:252:41: required from here ../dist/include/js/HashTable.h:662: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; use assignment or value-initialization instead [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dist/include/js/HashTable.h:26: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 ../jspropertycache.h:15, from ../jscntxt.h:23, from /construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests/testErrorCopying.cpp:13: ../vm/String.h: At global scope: ../vm/String.h:398:24: warning: inline function 'static void JSString::writeBarrierPost(JSString*, void*)' used but never defined static inline void writeBarrierPost(JSString *str, void *addr); ^~~~~~~~~~~~~~~~ ../vm/String.h:397:24: warning: inline function 'static void JSString::writeBarrierPre(JSString*)' used but never defined static inline void writeBarrierPre(JSString *str); ^~~~~~~~~~~~~~~ /usr/local/bin/python2.7 ../config/pythonpath.py -I../config ../config/expandlibs_exec.py --depend .deps/jsapi-tests.pp --target jsapi-tests --uselist -- c++ -o jsapi-tests -I/usr/local/include -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG -DTRIMMED -O -fomit-frame-pointer valueABI.o tests.o selfTest.o testAddPropertyPropcache.o testArgumentsObject.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 testExtendedEq.o testExternalStrings.o testFuncCallback.o testFunctionProperties.o testGCOutOfMemory.o testOOM.o testGetPropertyDefault.o testHashTable.o testIndexToString.o testIntString.o testIntTypesABI.o testIntern.o testLookup.o testLooselyEqual.o testNewObject.o testOps.o testOriginPrincipals.o testParseJSON.o testPropCache.o testRegExp.o testResolveRecursion.o testSameValue.o testScriptInfo.o testScriptObject.o testSetProperty.o testSourcePolicy.o testStringBuffer.o testTrap.o testTypedArrays.o testUTF8.o testValueABI.o testVersion.o testXDR.o testProfileStrings.o testJSEvaluateScript.o testErrorCopying.o -pthread -L/usr/local/lib -Wl,--icf=safe -Wl,-rpath-link,../dist/bin -Wl,-rpath-link,/usr/local/lib -L../dist/bin -L../dist/lib ../libjs_static.a -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -ldl -lz /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -R -m 755 jsapi-tests ../dist/bin gmake[3]: Leaving directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests' gmake -C tests libs gmake[3]: Entering directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/tests' gmake[3]: Nothing to be done for 'libs'. gmake[3]: Leaving directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/tests' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -D dist/sdk/lib /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -R -m 755 libmozjs-17.0.so dist/sdk/lib gmake[2]: Leaving directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src' gmake tools gmake[2]: Entering directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src' gmake -C config tools gmake[3]: Entering directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/config' gmake[3]: Nothing to be done for 'tools'. gmake[3]: Leaving directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/config' gmake -C shell tools gmake[3]: Entering directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell' gmake[3]: Nothing to be done for 'tools'. gmake[3]: Leaving directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell' gmake -C jsapi-tests tools gmake[3]: Entering directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests' gmake[3]: Nothing to be done for 'tools'. gmake[3]: Leaving directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/jsapi-tests' gmake -C tests tools gmake[3]: Entering directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/tests' gmake[3]: Nothing to be done for 'tools'. gmake[3]: Leaving directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/tests' gmake[2]: Leaving directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src' if test -d ./dist/bin ; then touch ./dist/bin/.purgecaches ; fi gmake[1]: Leaving directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for spidermonkey170-17.0.0_8 ===> Generating temporary packing list gmake[1]: Entering directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src' /usr/local/bin/python2.7 ./config/Preprocessor.py -Dprefix="/usr/local" -Dexec_prefix="/usr/local" -Dincludedir="/usr/local/include" -Dlibdir="/usr/local/lib" -DMODULE="js-17.0" -DMOZILLA_VERSION="17.0.4esrpre" -DLIBRARY_NAME="mozjs-17.0" -DJS_CONFIG_LIBS="-L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -ldl -lm -lz -pthread" -DJS_CONFIG_MOZ_JS_LIBS="-L/usr/local/lib -lmozjs-17.0" -DMOZJS_MAJOR_VERSION="17" -DMOZJS_MINOR_VERSION="0" -DMOZJS_PATCH_VERSION="4esrpre" -DMOZJS_ALPHA="" -DNSPR_CFLAGS="-I/usr/local/include/nspr" -DNSPR_PKGCONF_CHECK="nspr >= 4.9.2" js.pc.in > mozjs-17.0.pc /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -t mozjs-17.0.pc /construction/lang/spidermonkey170/stage/usr/local/libdata/pkgconfig /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -t js-config.h jscpucfg.h js.msg jsalloc.h jsapi.h jsatom.h jsatom.tbl jsclass.h jsclist.h jsdbgapi.h jsdhash.h jsfriendapi.h jsgc.h jslock.h json.h jsproxy.h jsprf.h jsproto.tbl jsprvtd.h jspubtd.h jstypes.h jsutil.h jsversion.h jswrapper.h jsval.h ./perf/jsperf.h /construction/lang/spidermonkey170/stage/usr/local/include/js-17.0 /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -t ./ds/BitArray.h /construction/lang/spidermonkey170/stage/usr/local/include/js-17.0/ds /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -t ./gc/Barrier.h ./gc/Heap.h ./gc/Root.h ./gc/Statistics.h ./gc/StoreBuffer.h /construction/lang/spidermonkey170/stage/usr/local/include/js-17.0/gc /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -t ./../public/HashTable.h ./../public/LegacyIntTypes.h ./../public/MemoryMetrics.h ./../public/RequiredDefines.h ./../public/TemplateLib.h ./../public/Utility.h ./../public/Vector.h /construction/lang/spidermonkey170/stage/usr/local/include/js-17.0/js /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -t ./../../mfbt/Assertions.h ./../../mfbt/Attributes.h ./../../mfbt/BloomFilter.h ./../../mfbt/CheckedInt.h ./../../mfbt/Constants.h ./../../mfbt/FloatingPoint.h ./../../mfbt/GuardObjects.h ./../../mfbt/HashFunctions.h ./../../mfbt/Likely.h ./../../mfbt/LinkedList.h ./../../mfbt/MathAlgorithms.h ./../../mfbt/MSStdInt.h ./../../mfbt/NullPtr.h ./../../mfbt/RangedPtr.h ./../../mfbt/RefPtr.h ./../../mfbt/Scoped.h ./../../mfbt/StandardInteger.h ./../../mfbt/SHA1.h ./../../mfbt/ThreadLocal.h ./../../mfbt/TypeTraits.h ./../../mfbt/Types.h ./../../mfbt/Util.h ./../../mfbt/WeakPtr.h /construction/lang/spidermonkey170/stage/usr/local/include/js-17.0/mozilla /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -t js17-config /construction/lang/spidermonkey170/stage/usr/local/bin /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -t libmozjs-17.0.so /construction/lang/spidermonkey170/stage/usr/local/lib gmake -C shell install gmake[2]: Entering directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell' /construction/lang/spidermonkey170/mozjs17.0.0/js/src/config/nsinstall -t js17 /construction/lang/spidermonkey170/stage/usr/local/bin gmake[2]: Leaving directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src/shell' gmake[1]: Leaving directory '/construction/lang/spidermonkey170/mozjs17.0.0/js/src' ln -s libmozjs-17.0.so /construction/lang/spidermonkey170/stage/usr/local/lib/libmozjs-17.0.so.1 ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for spidermonkey170-17.0.0_8 file sizes/checksums [67]: . done packing files [67]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 16:38:59 UTC Duration: 00:04:28