<86>Apr 14 02:40:26 userdel[93906]: delete user 'rooter' <86>Apr 14 02:40:26 groupadd[93974]: group added to /etc/group: name=rooter, GID=603 <86>Apr 14 02:40:26 groupadd[93974]: group added to /etc/gshadow: name=rooter <86>Apr 14 02:40:26 groupadd[93974]: new group: name=rooter, GID=603 <86>Apr 14 02:40:26 useradd[94013]: new user: name=rooter, UID=603, GID=603, home=/root, shell=/bin/bash <86>Apr 14 02:40:26 userdel[94178]: delete user 'builder' <86>Apr 14 02:40:26 userdel[94178]: removed group 'builder' owned by 'builder' <86>Apr 14 02:40:26 groupadd[94206]: group added to /etc/group: name=builder, GID=604 <86>Apr 14 02:40:26 groupadd[94206]: group added to /etc/gshadow: name=builder <86>Apr 14 02:40:26 groupadd[94206]: new group: name=builder, GID=604 <86>Apr 14 02:40:26 useradd[94226]: new user: name=builder, UID=604, GID=604, home=/usr/src, shell=/bin/bash <13>Apr 14 02:40:28 rpmi: perl-ph-0.11-alt1 1379318651 installed <13>Apr 14 02:40:28 rpmi: perl-Perl4-CoreLibs-0.003-alt1 1319152081 installed <13>Apr 14 02:40:28 rpmi: libnspr-1:4.20-alt1 p8.216526.40 1542382588 installed <13>Apr 14 02:40:28 rpmi: libnatspec-0.3.1-alt2 1445691578 installed <13>Apr 14 02:40:28 rpmi: libffi-devel-1:3.2.1-alt1 1454005025 installed <13>Apr 14 02:40:29 rpmi: glibc-devel-static-6:2.23-alt3.M80P.2 1514455523 installed <13>Apr 14 02:40:29 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Apr 14 02:40:29 rpmi: libstdc++5-devel-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 14 02:40:30 rpmi: gcc5-c++-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 14 02:40:30 rpmi: libffi-devel-static-1:3.2.1-alt1 1454005025 installed <13>Apr 14 02:40:30 rpmi: libnspr-devel-1:4.20-alt1 p8.216526.40 1542382588 installed <13>Apr 14 02:40:30 rpmi: unzip-6.0-alt2.qa1 1366155323 installed <13>Apr 14 02:40:30 rpmi: zip-30000000:3.0-alt1 1332241778 installed <13>Apr 14 02:40:30 rpmi: autoconf_2.13-2:2.13-alt12 1449525271 installed <13>Apr 14 02:40:30 rpmi: libreadline-devel-6.3.8-alt2 1449773803 installed Installing libmozjs-1.8.5-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.38228 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libmozjs-1.8.5 + echo 'Source #0 (libmozjs-1.8.5.tar):' Source #0 (libmozjs-1.8.5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/libmozjs-1.8.5.tar + cd libmozjs-1.8.5 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.38228 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libmozjs-1.8.5 + cd js/src + sed -i -e 's/^MOZILLA_VERSION = @MOZILLA_VERSION@/MOZILLA_VERSION = 1.8.5/' config/autoconf.mk.in + XCFLAGS=' -pipe -Wall -g -O2 -fPIC -DPIC' ++ nspr-config --cflags + XCFLAGS=' -pipe -Wall -g -O2 -fPIC -DPIC -I/usr/include/nspr' + XCFLAGS=' -pipe -Wall -g -O2 -fPIC -DPIC -I/usr/include/nspr -DJS_C_STRINGS_ARE_UTF8' + XCFLAGS=' -pipe -Wall -g -O2 -fPIC -DPIC -I/usr/include/nspr -DJS_C_STRINGS_ARE_UTF8 -DJS_HAS_XML_SUPPORT' + export XCFLAGS + autoconf + CFLAGS='-pipe -Wall -g -O2 -fPIC -DPIC' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2 -fPIC -DPIC' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2 -fPIC -DPIC' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -Wall -g -O2 -fPIC -DPIC' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + readlink -e -- ./configure + xargs -ri dirname -- '{}' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext --with-pthreads --with-system-nspr --enable-threadsafe --enable-readline --enable-jemalloc creating cache ./config.cache checking host system type... x86_64-alt-linux-gnu checking target system type... x86_64-alt-linux-gnu checking build system type... x86_64-alt-linux-gnu checking for gawk... gawk checking for perl5... /usr/bin/perl5 checking for gcc... gcc checking whether the C compiler (gcc -pipe -Wall -g -O2 -fPIC -DPIC ) works... yes checking whether the C compiler (gcc -pipe -Wall -g -O2 -fPIC -DPIC ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ -pipe -Wall -g -O2 -fPIC -DPIC ) works... yes checking whether the C++ compiler (c++ -pipe -Wall -g -O2 -fPIC -DPIC ) 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 whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... c++ -E checking for sb-conf... no checking for ve... no checking for a BSD compatible install... /bin/install -c checking whether ln -s works... yes checking for minimum required perl version >= 5.006... 5.022003 checking for full perl installation... yes checking for python2.7... /usr/bin/python2.7 checking for doxygen... : checking for autoconf... /usr/bin/autoconf checking for unzip... /usr/bin/unzip checking for zip... /usr/bin/zip checking for makedepend... no checking for xargs... /bin/xargs checking for gmake... /usr/bin/gmake checking for X... no checking whether the compiler supports -Wno-invalid-offsetof... yes checking whether the compiler supports -Wno-variadic-macros... yes checking whether the compiler supports -Werror=return-type... yes checking whether ld has archive extraction flags... yes checking that static assertion macros used in autoconf tests work... yes checking for 64-bit OS... yes checking for Python version >= 2.5 but not 3.x... yes checking for ANSI C header files... yes checking for working const... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for __stdcall... no checking for ssize_t... yes checking for st_blksize in struct stat... yes checking for siginfo_t... yes checking for stdint.h... yes checking for the size of void*... 8 checking for the alignment of void*... 8 checking for the size of double... 8 checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for int64... no checking for uint... yes checking for uint_t... no checking for uint16_t... no checking for uname.domainname... yes 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 __force_align_arg_pointer__ attribute... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for sys/byteorder.h... no checking for compat.h... no checking for getopt.h... yes checking for sys/bitypes.h... yes checking for memory.h... yes checking for unistd.h... yes checking for gnu/libc-version.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for X11/XKBlib.h... no checking for io.h... no checking for sys/statvfs.h... yes checking for sys/statfs.h... yes checking for sys/vfs.h... yes checking for sys/mount.h... yes checking for sys/quota.h... yes checking for linux/quota.h... yes checking for mmintrin.h... yes checking for new... yes checking for sys/cdefs.h... yes checking for linux/perf_event.h... yes checking for gethostbyname_r in -lc_r... no checking for library containing dlopen... -ldl checking for dlfcn.h... yes checking for dladdr... yes checking for socket in -lsocket... no checking for ARM SIMD support in compiler... no checking for ARM NEON support in compiler... no checking for pthread_create in -lpthreads... no checking for pthread_create in -lpthread... yes checking whether gcc accepts -pthread... yes checking whether mmap() sees write()s... yes checking whether gcc needs -traditional... no checking for 8-bit clean memcmp... yes checking for fchmod... yes checking for flockfile... yes checking for getc_unlocked... yes checking for _getc_nolock... no checking for getpagesize... yes checking for lchown... yes checking for localtime_r... yes checking for lstat64... yes checking for memmove... yes checking for random... yes checking for rint... no checking for sbrk... yes checking for snprintf... yes checking for stat64... yes checking for statvfs... yes checking for statvfs64... yes checking for strerror... yes checking for strtok_r... yes checking for truncate64... yes checking for clock_gettime(CLOCK_MONOTONIC) and -lrt... yes checking for wcrtomb... yes checking for mbrtowc... yes checking for res_ninit()... yes checking for gnu_get_libc_version()... yes checking for iconv in -lc... yes checking for iconv()... yes checking for iconv() with const input... 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 gcc 3.0 ABI... yes checking for C++ "explicit" keyword... yes checking for C++ "typename" keyword... yes checking for modern C++ template specialization syntax support... yes checking whether partial template specialization works... yes checking whether operators must be re-defined for templates derived from templates... no checking whether we need to cast a derived template to pass as its base class... no checking whether the compiler can resolve const ambiguities for templates... yes checking whether the C++ "using" keyword can change access... yes checking whether the C++ "using" keyword resolves ambiguity... yes checking for "std::" namespace... yes checking whether standard template operator!=() is ambiguous... unambiguous checking for C++ reinterpret_cast... 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) yes checking for strndup... yes checking for posix_memalign... yes checking for memalign... yes checking for valloc... yes checking for __attribute__((always_inline))... yes checking for __attribute__((malloc))... yes checking for __attribute__((warn_unused_result))... yes checking for __attribute__((noreturn))... yes checking for LC_MESSAGES... yes checking for localeconv... yes checking for nspr-config... /usr/bin/nspr-config checking for NSPR - version >= 4.7.0... yes checking for valid optimization flags... yes checking size of int *... 8 checking for __cxa_demangle... yes checking for unwind.h... yes checking for _Unwind_Backtrace... yes checking for gcc -pipe support... yes checking whether C compiler supports -fprofile-generate... yes checking whether C++ compiler has -pedantic long long bug... no checking for correct temporary object destruction order... yes checking for correct overload resolution with const and templates... no checking for tm_zone tm_gmtoff in struct tm... yes checking for readline in -lreadline... yes checking for posix_fallocate... yes checking for setlocale... yes checking for localeconv... (cached) yes creating js-confdefs.h ==== js-confdefs.h ================================= /* List of defines generated by configure. Included with preprocessor flag, * -include, to avoid long list of -D defines on the compile command-line. * Do not edit. */ #ifndef _JS_CONFDEFS_H_ #define _JS_CONFDEFS_H_ #define AVMPLUS_64BIT 1 #define AVMPLUS_AMD64 1 #define AVMPLUS_LINUX 1 #define AVMPLUS_UNIX 1 #define CPP_THROW_NEW throw() #define D_INO d_ino #define EDITLINE 1 #define FEATURE_NANOJIT 1 #define HAVE_64BIT_OS 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CPP_ACCESS_CHANGING_USING 1 #define HAVE_CPP_AMBIGUITY_RESOLVING_USING 1 #define HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR 1 #define HAVE_CPP_EXPLICIT 1 #define HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX 1 #define HAVE_CPP_NAMESPACE_STD 1 #define HAVE_CPP_NEW_CASTS 1 #define HAVE_CPP_PARTIAL_SPECIALIZATION 1 #define HAVE_CPP_TYPENAME 1 #define HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL 1 #define HAVE_DIRENT_H 1 #define HAVE_DLADDR 1 #define HAVE_DLOPEN 1 #define HAVE_FCHMOD 1 #define HAVE_FLOCKFILE 1 #define HAVE_GETC_UNLOCKED 1 #define HAVE_GETOPT_H 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GNU_GET_LIBC_VERSION 1 #define HAVE_GNU_LIBC_VERSION_H 1 #define HAVE_I18N_LC_MESSAGES 1 #define HAVE_ICONV 1 #define HAVE_INT16_T 1 #define HAVE_INT32_T 1 #define HAVE_INT64_T 1 #define HAVE_JEMALLOC_MEMALIGN 1 #define HAVE_JEMALLOC_POSIX_MEMALIGN 1 #define HAVE_JEMALLOC_VALLOC 1 #define HAVE_LCHOWN 1 #define HAVE_LINUX_QUOTA_H 1 #define HAVE_LOCALECONV 1 #define HAVE_LOCALECONV 1 #define HAVE_LOCALTIME_R 1 #define HAVE_LSTAT64 1 #define HAVE_MALLOC_H 1 #define HAVE_MBRTOWC 1 #define HAVE_MEMALIGN 1 #define HAVE_MEMMOVE 1 #define HAVE_MEMORY_H 1 #define HAVE_MMINTRIN_H 1 #define HAVE_NL_TYPES_H 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_RANDOM 1 #define HAVE_RES_NINIT 1 #define HAVE_SBRK 1 #define HAVE_SETLOCALE 1 #define HAVE_SIGINFO_T 1 #define HAVE_SNPRINTF 1 #define HAVE_SSIZE_T 1 #define HAVE_STAT64 1 #define HAVE_STATVFS 1 #define HAVE_STATVFS64 1 #define HAVE_STRERROR 1 #define HAVE_STRNDUP 1 #define HAVE_STRTOK_R 1 #define HAVE_ST_BLKSIZE 1 #define HAVE_SYS_BITYPES_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_SYS_QUOTA_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_THREAD_TLS_KEYWORD 1 #define HAVE_TM_ZONE_TM_GMTOFF 1 #define HAVE_TRUNCATE64 1 #define HAVE_UINT 1 #define HAVE_UNAME_DOMAINNAME_FIELD 1 #define HAVE_UNISTD_H 1 #define HAVE_VALLOC 1 #define HAVE_VA_COPY 1 #define HAVE_VA_LIST_AS_ARRAY 1 #define HAVE_VISIBILITY_ATTRIBUTE 1 #define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1 #define HAVE_WCRTOMB 1 #define HAVE__UNWIND_BACKTRACE 1 #define HAVE___CXA_DEMANGLE 1 #define JS_ALIGN_OF_POINTER 8 #define JS_BITS_PER_WORD_LOG2 6 #define JS_BYTES_PER_DOUBLE 8 #define JS_BYTES_PER_WORD 8 #define JS_CPU_X64 1 #define JS_HAVE_STDINT_H 1 #define JS_METHODJIT 1 #define JS_MONOIC 1 #define JS_POLYIC 1 #define JS_POLYIC_TYPED_ARRAY 1 #define JS_PUNBOX64 1 #define JS_THREADSAFE 1 #define JS_TRACER 1 #define MALLOC_H #define MOZ_DLL_SUFFIX ".so" #define MOZ_MEMORY 1 #define MOZ_MEMORY_LINUX 1 #define MOZ_MEMORY_SIZEOF_PTR_2POW 3 #define NEW_H #define NS_ALWAYS_INLINE __attribute__((always_inline)) #define NS_ATTR_MALLOC __attribute__((malloc)) #define NS_NORETURN __attribute__((noreturn)) #define NS_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) #define SIZEOF_INT_P 8 #define STDC_HEADERS 1 #define UNIX_ASYNC_DNS 1 #define VA_COPY va_copy #define XP_UNIX 1 #define X_DISPLAY_MISSING 1 #define _REENTRANT 1 #endif /* _JS_CONFDEFS_H_ */ creating Makefile creating shell/Makefile creating lirasm/Makefile creating jsapi-tests/Makefile creating tests/Makefile creating config/Makefile creating config/mkdepend/Makefile updating cache ./config.cache creating ./config.status creating config/autoconf.mk creating js-config.h invoking make to create js-config script rm -f js-config.tmp sed < js-config.in > js-config.tmp \ -e 's|@prefix@|/usr|' \ -e 's|@exec_prefix@|/usr|' \ -e 's|@includedir@|/usr/include|' \ -e 's|@libdir@|/usr/lib64|' \ -e 's|@MOZILLA_VERSION@|1.8.5|' \ -e 's|@LIBRARY_NAME@|mozjs185|' \ -e 's|@NSPR_CFLAGS@|-I/usr/include/nspr|' \ -e 's|@JS_CONFIG_LIBS@|-L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl -lm -ldl |' \ -e 's|@MOZ_JS_LIBS@|-L/usr/lib64 -lmozjs185|' \ && mv js-config.tmp js-config && chmod +x js-config + '[' -n '' ']' + NPROCS=8 + make -j8 make: Entering directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src' make export make[1]: Entering directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src' make -C config/ nsinstall c++ -DMDCPUCFG=\"md/_linux.cfg\" -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I/usr/include/nspr -o jscpucfg jscpucfg.cpp Creating /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/.deps make[2]: Entering directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config' nsinstall.c gcc -o host_nsinstall.o -c -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -I/usr/include/nspr nsinstall.c jskwgen.cpp c++ -DMDCPUCFG=\"md/_linux.cfg\" -o host_jskwgen.o -c -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -I/usr/include/nspr jskwgen.cpp pathsub.c gcc -o host_pathsub.o -c -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -I/usr/include/nspr pathsub.c ./jscpucfg > jsautocfg.tmp mv jsautocfg.tmp jsautocfg.h c++ -DMDCPUCFG=\"md/_linux.cfg\" -o host_jskwgen -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr host_jskwgen.o gcc -o nsinstall -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -lpthread -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/lib host_nsinstall.o host_pathsub.o make[2]: Leaving directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config' make[2]: Entering directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config' rm -f nfspwd cp nfspwd.pl nfspwd chmod +x nfspwd /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config/nsinstall -R nsinstall ../dist/bin if test ! -d system_wrappers_js; then mkdir system_wrappers_js; fi /usr/bin/perl5 ./preprocessor.pl -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -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_POLYIC_TYPED_ARRAY=1 -DFEATURE_NANOJIT=1 -DJS_TRACER=1 -DAVMPLUS_AMD64=1 -DAVMPLUS_64BIT=1 -DAVMPLUS_UNIX=1 -DAVMPLUS_LINUX=1 -DSTDC_HEADERS=1 -DHAVE_SSIZE_T=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DJS_HAVE_STDINT_H=1 -DJS_BYTES_PER_WORD=8 -DJS_BITS_PER_WORD_LOG2=6 -DJS_ALIGN_OF_POINTER=8 -DJS_BYTES_PER_DOUBLE=8 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UNAME_DOMAINNAME_FIELD=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_ATTRIBUTE=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_BITYPES_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GNU_LIBC_VERSION_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_QUOTA_H=1 -DHAVE_LINUX_QUOTA_H=1 -DHAVE_MMINTRIN_H=1 -DNEW_H=\ -DHAVE_SYS_CDEFS_H=1 -DHAVE_DLOPEN=1 -DHAVE_DLADDR=1 -D_REENTRANT=1 -DHAVE_FCHMOD=1 -DHAVE_FLOCKFILE=1 -DHAVE_GETC_UNLOCKED=1 -DHAVE_GETPAGESIZE=1 -DHAVE_LCHOWN=1 -DHAVE_LOCALTIME_R=1 -DHAVE_LSTAT64=1 -DHAVE_MEMMOVE=1 -DHAVE_RANDOM=1 -DHAVE_SBRK=1 -DHAVE_SNPRINTF=1 -DHAVE_STAT64=1 -DHAVE_STATVFS=1 -DHAVE_STATVFS64=1 -DHAVE_STRERROR=1 -DHAVE_STRTOK_R=1 -DHAVE_TRUNCATE64=1 -DHAVE_CLOCK_MONOTONIC=1 -DHAVE_WCRTOMB=1 -DHAVE_MBRTOWC=1 -DHAVE_RES_NINIT=1 -DHAVE_GNU_GET_LIBC_VERSION=1 -DHAVE_ICONV=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_VA_LIST_AS_ARRAY=1 -DHAVE_CPP_EXPLICIT=1 -DHAVE_CPP_TYPENAME=1 -DHAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX=1 -DHAVE_CPP_PARTIAL_SPECIALIZATION=1 -DHAVE_CPP_ACCESS_CHANGING_USING=1 -DHAVE_CPP_AMBIGUITY_RESOLVING_USING=1 -DHAVE_CPP_NAMESPACE_STD=1 -DHAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL=1 -DHAVE_CPP_NEW_CASTS=1 -DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DHAVE_THREAD_TLS_KEYWORD=1 -DMALLOC_H=\ -DHAVE_STRNDUP=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_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\)\) -DNS_NORETURN=__attribute__\(\(noreturn\)\) -DSIZEOF_INT_P=8 -DMOZ_MEMORY_SIZEOF_PTR_2POW=3 -DMOZ_MEMORY=1 -DMOZ_MEMORY_LINUX=1 -DHAVE_JEMALLOC_VALLOC=1 -DHAVE_JEMALLOC_POSIX_MEMALIGN=1 -DHAVE_JEMALLOC_MEMALIGN=1 -DHAVE___CXA_DEMANGLE=1 -DHAVE__UNWIND_BACKTRACE=1 -DHAVE_TM_ZONE_TM_GMTOFF=1 -DCPP_THROW_NEW=throw\(\) -DEDITLINE=1 -DMOZ_DLL_SUFFIX=\".so\" -DHAVE_POSIX_FALLOCATE=1 -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DHAVE_SETLOCALE=1 -DHAVE_LOCALECONV=1 \ -DBUILD_STATIC_LIBS= \ ./system-headers | /usr/bin/perl5 ./make-system-wrappers.pl system_wrappers_js ./host_jskwgen /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/jsautokw.h /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config/nsinstall -R system_wrappers_js ../dist make[2]: Leaving directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config' make[2]: Entering directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/shell' Creating /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/shell/.deps make[2]: Leaving directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/shell' make[2]: Entering directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/jsapi-tests' Creating /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/jsapi-tests/.deps make[2]: Leaving directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/jsapi-tests' make[2]: Entering directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/tests' make[2]: Nothing to be done for `export'. make[2]: Leaving directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/tests' /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config/nsinstall -R -m 644 js-config.h jsautocfg.h /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/jsautokw.h js.msg jsanalyze.h jsapi.h jsarray.h jsarena.h jsatom.h jsbit.h jsbool.h jsclist.h jsclone.h jscntxt.h jscompat.h jsdate.h jsdbgapi.h jsdhash.h jsdtoa.h jsemit.h jsfun.h jsfriendapi.h jsgc.h jscell.h jsgcchunk.h jsgcstats.h jscompartment.h jshash.h jsinterp.h jsinttypes.h jsiter.h jslock.h jslong.h jsmath.h jsobj.h jsobjinlines.h json.h jsopcode.tbl jsopcode.h jsopcodeinlines.h jsotypes.h jsparse.h jsproxy.h jsprf.h jsprobes.h jspropertycache.h jspropertycacheinlines.h jspropertytree.h jsproto.tbl jsprvtd.h jspubtd.h jsreflect.h jsregexp.h jsscan.h jsscope.h jsscript.h jsscriptinlines.h jsstaticcheck.h jsstdint.h jsstr.h jstracer.h jshotloop.h jstypedarray.h jstypes.h jsutil.h jsvector.h jstl.h jshashtable.h jsversion.h jswrapper.h jsxdrapi.h jsxml.h jsval.h jsvalue.h prmjtime.h jsbuiltins.h ./nanojit/Assembler.h ./nanojit/Allocator.h ./nanojit/CodeAlloc.h ./nanojit/Containers.h ./nanojit/LIR.h ./nanojit/LIRopcode.tbl ./nanojit/avmplus.h ./nanojit/Fragmento.h ./nanojit/Native.h ./nanojit/NativeCommon.h ./nanojit/NativeX64.h ./nanojit/njconfig.h ./nanojit/njcpudetect.h ./nanojit/RegAlloc.h ./nanojit/nanojit.h ./nanojit/VMPI.h ./tracejit/Writer.h ./perf/jsperf.h ./dist/include mkdir -p nanojit make[1]: Leaving directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src' make libs make[1]: Entering directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src' jsoplengen.cpp c++ -DMDCPUCFG=\"md/_linux.cfg\" -o host_jsoplengen.o -c -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -I/usr/include/nspr jsoplengen.cpp /usr/bin/python2.7 imacro_asm.py ./imacros.jsasm /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/imacros.c.out /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config/nsinstall -D dist/sdk/lib /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config/nsinstall -D dist/bin/chrome c++ -DMDCPUCFG=\"md/_linux.cfg\" -o host_jsoplengen -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr host_jsoplengen.o ./host_jsoplengen /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/jsautooplen.h jsanalyze.cpp c++ -o jsanalyze.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsanalyze.pp jsanalyze.cpp jsapi.cpp c++ -o jsapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsapi.pp jsapi.cpp jsarena.cpp c++ -o jsarena.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsarena.pp jsarena.cpp jsarray.cpp c++ -o jsarray.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsarray.pp jsarray.cpp jsatom.cpp c++ -o jsatom.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsatom.pp jsatom.cpp jsbool.cpp c++ -o jsbool.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsbool.pp jsbool.cpp jsclone.cpp c++ -o jsclone.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsclone.pp jsclone.cpp jscntxt.cpp c++ -o jscntxt.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jscntxt.pp jscntxt.cpp In file included from jsval.h:48:0, from jspubtd.h:47, from jsapi.h:49, from jsclone.h:42, from jsclone.cpp:39: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ In file included from jscntxt.cpp:58:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsclone.h: In member function 'void js::SCInput::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.h:100:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jschar) == 2); ^ jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.h:101:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(uint32_t) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.h:102:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsdouble) == 8); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jsval.h:48:0, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsanalyze.h:45, from jsanalyze.cpp:40: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ In file included from jsregexpinlines.h:45:0, from jsclone.cpp:44: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstracer.h:48, from jscntxt.cpp:81: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jscompartment.cpp c++ -o jscompartment.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jscompartment.pp jscompartment.cpp jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from yarr/yarr/RegexJIT.h:31, from jsregexpinlines.h:49, from jsclone.cpp:44: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from assembler/assembler/MacroAssembler.h:54:0, from jscntxt.cpp:84: assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from jsatom.cpp:47:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ In file included from jscntxt.cpp:90:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jscntxt.cpp:58:0: jscntxt.cpp: In function 'JSContext* js_NewContext(JSRuntime*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jscntxt.cpp:746:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSVERSION_DEFAULT == 0); ^ In file included from jsval.h:48:0, from jspubtd.h:47, from jsapi.h:49, from jsclone.h:42, from jsclone.cpp:39: jsclone.cpp: In member function 'bool js::SCInput::readArray(T*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert73' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:203:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(uint64_t) % sizeof(T) == 0); ^ jsclone.cpp: In function 'uint32_t ArrayTypeToTag(uint32_t)': jsutil.h:120:43: warning: typedef 'js_static_assert75' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:408:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(TypedArray::TYPE_INT8 == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert76' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:409:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(TypedArray::TYPE_UINT8 == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert77' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:410:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(TypedArray::TYPE_INT16 == 2); ^ jsutil.h:120:43: warning: typedef 'js_static_assert78' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:411:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(TypedArray::TYPE_UINT16 == 3); ^ jsutil.h:120:43: warning: typedef 'js_static_assert79' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:412:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(TypedArray::TYPE_INT32 == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert80' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:413:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(TypedArray::TYPE_UINT32 == 5); ^ jsutil.h:120:43: warning: typedef 'js_static_assert81' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:414:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(TypedArray::TYPE_FLOAT32 == 6); ^ jsutil.h:120:43: warning: typedef 'js_static_assert82' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:415:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(TypedArray::TYPE_FLOAT64 == 7); ^ jsutil.h:120:43: warning: typedef 'js_static_assert83' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:416:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(TypedArray::TYPE_UINT8_CLAMPED == 8); ^ jsutil.h:120:43: warning: typedef 'js_static_assert84' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:417:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(TypedArray::TYPE_MAX == TypedArray::TYPE_UINT8_CLAMPED + 1); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ In file included from jsarray.cpp:84:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ In file included from jsbool.cpp:45:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstracer.h:48, from jsarray.cpp:90: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from jsarray.cpp:84:0: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ In file included from jsapi.cpp:52:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jsbool.cpp:58:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsapi.cpp:52:0: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jsatom.cpp:65:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsatom.cpp:51:0: jsatom.cpp: In member function 'JSAtomListElement* JSAtomList::add(js::Parser*, JSAtom*, JSAtomList::AddHow)': jsatom.h:158:69: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) ^ jsatom.cpp:862:9: note: in expansion of macro 'ALE_SET_INDEX' ALE_SET_INDEX(ale, count++); ^ jsatom.cpp: In function 'void js_InitAtomMap(JSContext*, JSAtomMap*, JSAtomList*)': jsatom.cpp:954:12: warning: variable 'count' set but not used [-Wunused-but-set-variable] uint32 count; ^ In file included from jsval.h:48:0, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jscompartment.cpp:41: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsclone.h: In member function 'void js::SCInput::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.h:100:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jschar) == 2); ^ jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.h:101:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(uint32_t) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.h:102:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsdouble) == 8); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ In file included from jsarray.cpp:110:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ In file included from jsarray.cpp:84:0: jsarray.cpp: In function 'JSBool js_GetLengthProperty(JSContext*, JSObject*, jsuint*)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsarray.cpp:230:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsuint) == sizeof(uint32_t)); ^ jsarray.cpp: In function 'JSBool BigIndexToId(JSContext*, JSObject*, jsuint, JSBool, jsid*)': jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsarray.cpp:256:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT((jsuint)-1 == 4294967295U); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ In file included from jstracer.h:48:0, from jsarray.cpp:90: jsarray.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_EnsureDenseArrayCapacity' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsarray.cpp:497:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, BOOL, js_EnsureDenseArrayCapacity, CONTEXT, OBJECT, INT32, ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_ArrayCompPush_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsarray.cpp:2110:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, BOOL_FAIL, js_ArrayCompPush_tn, CONTEXT, OBJECT, ^ jsdate.cpp c++ -o jsdate.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdate.pp jsdate.cpp jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::NewDenseEmptyArray' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsarray.cpp:3106:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(extern, OBJECT, NewDenseEmptyArray, CONTEXT, OBJECT, 0, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::NewDenseAllocatedArray' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsarray.cpp:3108:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, OBJECT, NewDenseAllocatedArray, CONTEXT, UINT32, OBJECT, 0, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::NewDenseUnallocatedArray' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsarray.cpp:3110:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, OBJECT, NewDenseUnallocatedArray, CONTEXT, UINT32, OBJECT, 0, ^ jsdbgapi.cpp c++ -o jsdbgapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdbgapi.pp jsdbgapi.cpp In file included from jsapi.cpp:94:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstracer.h:48, from jscompartment.cpp:47: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from yarr/yarr/RegexJIT.h:31, from jsregexpinlines.h:49, from jsapi.cpp:97: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from jsval.h:48:0, from jspubtd.h:47, from jsprvtd.h:57, from jsdbgapi.cpp:45: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsapi.cpp: In function 'JSIdArray* JS_Enumerate(JSContext*, JSObject*)': jsapi.cpp:3988:16: warning: converting 'false' to pointer type 'JSIdArray*' [-Wconversion-null] return false; ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from methodjit/PolyIC.h:46, from jscompartment.cpp:51: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jsdate.cpp:66: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsdate.cpp:63:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ In file included from methodjit/BaseAssembler.h:53:0, from methodjit/PolyIC.h:50, from jscompartment.cpp:51: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jsdate.cpp:74:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsdate.cpp:66:0: jsdate.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)date_now_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsdate.cpp:2459:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(date_now, ^ In file included from jsdbgapi.cpp:72:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jstracer.h:48, from jscntxt.cpp:81: nanojit/NativeX64.h: At global scope: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ jsdhash.cpp c++ -o jsdhash.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdhash.pp jsdhash.cpp nanojit/NativeX64.h:354:31: warning: 'nanojit::SingleByteStoreRegs' defined but not used [-Wunused-variable] static const RegisterMask SingleByteStoreRegs = GpRegs & ~(1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jsemit.cpp:73:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsexn.cpp c++ -o jsexn.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsexn.pp jsexn.cpp In file included from jsemit.cpp:52:0: jsemit.cpp: In member function 'bool JSTreeContext::ensureSharpSlots()': jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsemit.cpp:1318:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(SHARP_NSLOTS == 2); ^ jsemit.cpp: In function 'JSOp EmitBigIndexPrefix(JSContext*, JSCodeGenerator*, uintN)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsemit.cpp:1773:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INDEX_LIMIT <= JS_BIT(24)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert71' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsemit.cpp:1774:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INDEX_LIMIT >= ^ In file included from jsemit.cpp:56:0: jsemit.cpp: In member function 'bool JSCodeGenerator::addGlobalUse(JSAtom*, uint32, js::UpvarCookie*)': jsatom.h:158:69: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) ^ jsemit.cpp:2458:5: note: in expansion of macro 'ALE_SET_INDEX' ALE_SET_INDEX(ale, cookie->asInteger()); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jstracer.h:48, from jscompartment.cpp:47: nanojit/NativeX64.h: At global scope: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jsexn.cpp:67:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsbit.h:44:0, from jsexn.cpp:48: jsexn.cpp: In function 'JSErrorReport* CopyErrorReport(JSContext*, JSErrorReport*)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsexn.cpp:146:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSErrorReport) % sizeof(const char *) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsexn.cpp:147:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(const char *) % sizeof(jschar) == 0); ^ jsexn.cpp: In function 'jsval* GetStackTraceValueBuffer(JSExnPrivate*)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsexn.cpp:257:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackTraceElem) % sizeof(jsval) == 0); ^ jsexn.cpp: In function 'JSBool exn_enumerate(JSContext*, JSObject*)': jsutil.h:120:43: warning: typedef 'js_static_assert71' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsexn.cpp:440:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSAtomState) <= (size_t)(uint16)-1); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jsdtoa.cpp:54:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsfriendapi.cpp c++ -o jsfriendapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsfriendapi.pp jsfriendapi.cpp In file included from jsval.h:48:0, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsfriendapi.cpp:40: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsfun.cpp c++ -o jsfun.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsfun.pp jsfun.cpp In file included from jsbit.h:44:0, from jsfun.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jsfun.cpp:53: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsbit.h:44:0, from jsfun.cpp:47: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsdate.cpp:66: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstracer.h:48, from jsgc.cpp:81: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsgc.cpp:91:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsgc.cpp:56:0: jsgc.cpp: In function 'js::gc::ConservativeGCTest js::MarkIfGCThingWord(JSTracer*, jsuword, uint32&)': jsutil.h:120:43: warning: typedef 'js_static_assert83' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.cpp:610:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSID_TYPE_STRING == 0 && JSID_TYPE_OBJECT == 4); ^ jsgc.cpp: In function 'void FinalizeArenaList(JSCompartment*, JSContext*, unsigned int)': jsutil.h:120:43: warning: typedef 'js_static_assert84' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.cpp:1893:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(!(sizeof(T) & Cell::CellMask)); ^ jsgcstats.cpp c++ -o jsgcstats.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsgcstats.pp jsgcstats.cpp In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jstracer.h:48, from jsarray.cpp:90: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jsgcstats.cpp:44: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ jshash.cpp c++ -o jshash.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jshash.pp jshash.cpp In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsgcstats.cpp:44: nanojit/NativeX64.h: At global scope: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstracer.h:48, from jsinterp.cpp:75: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstracer.h:48, from jsinterp.cpp:75, from jsinvoke.cpp:42: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsinterp.cpp:85:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from methodjit/MonoIC.h:44, from jsinterp.cpp:100: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from jsinterp.cpp:85:0, from jsinvoke.cpp:42: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from methodjit/MonoIC.h:44, from jsinterp.cpp:100, from jsinvoke.cpp:42: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from jsinterp.cpp:50:0, from jsinvoke.cpp:42: jsinterp.cpp: In function 'bool js::Execute(JSContext*, JSObject*, JSScript*, JSStackFrame*, uintN, js::Value*)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.cpp:993:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(SHARP_NSLOTS == 2); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsfun.cpp:53: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ In file included from jsval.h:48:0, from jspubtd.h:47, from jslock.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jslog2.cpp c++ -o jslog2.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jslog2.pp jslog2.cpp jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jsiter.cpp:53: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from jsiter.cpp:47:0: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsmath.cpp c++ -o jsmath.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsmath.pp jsmath.cpp jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsnativestack.cpp c++ -o jsnativestack.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsnativestack.pp jsnativestack.cpp jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ jslock.cpp: In function 'int js_SuspendThread(JSThinLock*)': jslock.cpp:585:14: warning: variable 'stat' set but not used [-Wunused-but-set-variable] PRStatus stat; ^ jslock.cpp: In function 'void js_ResumeThread(JSThinLock*)': jslock.cpp:615:14: warning: variable 'stat' set but not used [-Wunused-but-set-variable] PRStatus stat; ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jsiter.cpp:80:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsnum.cpp c++ -o jsnum.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsnum.pp jsnum.cpp In file included from jsiter.cpp:47:0: jsiter.cpp: In function 'bool js::VectorToIdArray(JSContext*, js::AutoIdVector&, JSIdArray**)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsiter.cpp:339:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSIdArray) > sizeof(jsid)); ^ jsiter.cpp: In function 'JSObject* NewIteratorObject(JSContext*, uintN)': jsiter.cpp:428:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] return false; ^ In file included from jsval.h:48:0, from jspubtd.h:47, from jsapi.h:49, from jsmath.cpp:48: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jsmath.cpp:50: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsval.h:48:0, from jspubtd.h:47, from jsapi.h:49, from jsmath.cpp:48: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsobj.cpp c++ -o jsobj.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsobj.pp jsobj.cpp jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from jsmath.cpp:50:0: jsmath.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_math_abs_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(name, \ ^ jsmath.cpp:680:1: note: in expansion of macro 'MATH_BUILTIN_1' MATH_BUILTIN_1(js_math_abs, fabs) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_atan_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(name, \ ^ jsmath.cpp:681:1: note: in expansion of macro 'MATH_BUILTIN_1' MATH_BUILTIN_1(math_atan, atan) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_sin_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(name, \ ^ jsmath.cpp:682:1: note: in expansion of macro 'MATH_BUILTIN_1' MATH_BUILTIN_1(math_sin, sin) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_cos_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(name, \ ^ jsmath.cpp:683:1: note: in expansion of macro 'MATH_BUILTIN_1' MATH_BUILTIN_1(math_cos, cos) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_sqrt_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(name, \ ^ jsmath.cpp:684:1: note: in expansion of macro 'MATH_BUILTIN_1' MATH_BUILTIN_1(math_sqrt, sqrt) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_tan_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(name, \ ^ jsmath.cpp:685:1: note: in expansion of macro 'MATH_BUILTIN_1' MATH_BUILTIN_1(math_tan, tan) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_exp_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:715:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(math_exp, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_acos_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:807:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(math_acos, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_asin_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:809:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(math_asin, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_atan2_kernel' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:811:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(math_atan2, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_floor_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:813:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(js_math_floor, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_log_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:815:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(math_log, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_max_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:817:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(js_math_max, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_min_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:819:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(js_math_min, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_pow_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:821:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(math_pow, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_random_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:823:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(math_random, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_round_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:825:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(js_math_round, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_ceil_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:827:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(js_math_ceil, ^ In file included from jsnum.cpp:56:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jsnum.cpp:59: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsbit.h:44:0, from jsobj.cpp:49: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ In file included from jsnum.cpp:56:0: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/NativeX64.h: At global scope: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<= DTOSTR_STANDARD_BUFFER_SIZE); ^ jsnum.cpp: In function 'JSString* js_IntToString(JSContext*, int32)': jsutil.h:120:43: warning: typedef 'js_static_assert72' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsnum.cpp:625:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSShortString::MAX_SHORT_STRING_LENGTH + 1 >= sizeof("-2147483648")); ^ In file included from jsnum.cpp:59:0: jsnum.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_NumberToString' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:516:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsnum.cpp:932:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_2' JS_DEFINE_TRCINFO_2(num_toString, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_NumberToStringWithBase' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:517:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn1 \ ^ jsnum.cpp:932:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_2' JS_DEFINE_TRCINFO_2(num_toString, ^ json.cpp In file included from jsobj.cpp:85:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ c++ -o json.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/json.pp json.cpp jsobj.cpp: In function 'JSHashEntry* MarkSharpObjects(JSContext*, JSObject*, JSIdArray**)': jsobj.cpp:221:65: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] he = JS_HashTableRawAdd(table, hep, hash, obj, (void *) sharpid); ^ jsobj.cpp:280:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] he->value = (void *) sharpid; ^ In file included from jsobj.cpp:58:0: jsobj.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_Object_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsobj.cpp:2968:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(js_Object, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_InitializerObject' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsobj.cpp:2983:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, OBJECT, js_InitializerObject, CONTEXT, OBJECT, OBJECT, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_String_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsobj.cpp:2996:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, OBJECT, js_String_tn, CONTEXT, CALLEE_PROTOTYPE, STRING, 0, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_CreateThisFromTrace' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsobj.cpp:3029:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, CONSTRUCTOR_RETRY, js_CreateThisFromTrace, CONTEXT, OBJECT, UINTN, 0, ^ jsopcode.cpp c++ -o jsopcode.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsopcode.pp jsopcode.cpp In file included from jsval.h:48:0, from jspubtd.h:47, from jsapi.h:49, from json.cpp:43: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from jsopcode.cpp:54:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from json.cpp:66:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstracer.h:48, from jsopcode.cpp:73: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsnum.cpp:59: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsiter.cpp:53: nanojit/NativeX64.h: At global scope: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ jsprf.cpp c++ -o jsprf.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsprf.pp jsprf.cpp jsparse.cpp: In member function 'JSParseNode* js::Parser::functionDef(JSAtom*, js::Parser::FunctionType, uintN)': jsparse.cpp:3355:20: warning: converting 'false' to pointer type 'JSParseNode*' [-Wconversion-null] return false; ^ In file included from jsarray.h:47:0, from jsparse.cpp:62: jsparse.cpp: In member function 'JSParseNode* js::Parser::primaryExpr(js::TokenKind, JSBool)': jsatom.h:158:69: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) ^ jsparse.cpp:8697:17: note: in expansion of macro 'ALE_SET_INDEX' ALE_SET_INDEX(ale, assignType | oldAssignType); ^ jsparse.cpp:8540:16: warning: variable 'afterComma' set but not used [-Wunused-but-set-variable] JSBool afterComma; ^ In file included from jsprf.cpp:51:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ In file included from jsval.h:48:0, from jspubtd.h:47, from jsapi.h:49, from jsproxy.cpp:43: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jsproxy.cpp:51:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsprobes.cpp c++ -o jsprobes.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsprobes.pp jsprobes.cpp jspropertycache.cpp c++ -o jspropertycache.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jspropertycache.pp jspropertycache.cpp In file included from jsval.h:48:0, from jspubtd.h:47, from jsapi.h:49, from jsprobes.cpp:36: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ In file included from jsval.h:48:0, from jspubtd.h:47, from jsapi.h:49, from jspropertycache.h:44, from jspropertycache.cpp:41: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jspropertytree.cpp c++ -o jspropertytree.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jspropertytree.pp jspropertytree.cpp jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsreflect.cpp c++ -o jsreflect.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsreflect.pp jsreflect.cpp In file included from jsval.h:48:0, from jspubtd.h:47, from jsapi.h:49, from jspropertytree.cpp:45: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jsval.h:48:0, from jspubtd.h:47, from jsreflect.cpp:45: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ In file included from jspropertycache.cpp:44:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jspropertytree.cpp:51:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jsreflect.cpp:63:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsregexp.cpp c++ -o jsregexp.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsregexp.pp jsregexp.cpp jsscan.cpp c++ -o jsscan.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsscan.pp jsscan.cpp In file included from jsregexp.cpp:48:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from jsbit.h:44:0, from jsscan.cpp:57: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jsregexp.cpp:58:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from yarr/yarr/RegexJIT.h:31, from jsregexpinlines.h:49, from jsregexp.cpp:59: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstracer.h:48, from jsregexp.cpp:64: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jstracer.h:48:0, from jsregexp.cpp:64: jsregexp.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_CloneRegExpObject' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsregexp.cpp:178:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, OBJECT, js_CloneRegExpObject, CONTEXT, OBJECT, OBJECT, 0, ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsobj.cpp:58: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstracer.h:48, from jsscope.cpp:64: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ jsscript.cpp c++ -o jsscript.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsscript.pp jsscript.cpp In file included from jsscope.cpp:67:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsscript.cpp:47:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jstracer.h:48, from jsopcode.cpp:73: nanojit/NativeX64.h: At global scope: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<kind) == sizeof(uint8)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.cpp:713:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(tn->stackDepth) == sizeof(uint16)); ^ jsscript.cpp: In static member function 'static JSScript* JSScript::NewScript(JSContext*, uint32, uint32, uint32, uint32, uint32, uint32, uint32, uint32, uint32, uint16, uint16, JSVersion)': jsutil.h:120:43: warning: typedef 'js_static_assert80' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.cpp:1289:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSObjectArray) + ^ jswrapper.cpp c++ -o jswrapper.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jswrapper.pp jswrapper.cpp In file included from jstypedarray.cpp:44:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstypedarray.cpp:51: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jstypedarray.cpp:44:0: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jstypedarray.cpp:64:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jstypedarray.cpp:51:0: jstypedarray.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_TypedArray_uint8_clamp_double' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstypedarray.cpp:387:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' JS_DEFINE_CALLINFO_1(extern, INT32, js_TypedArray_uint8_clamp_double, DOUBLE, ^ In file included from jsval.h:48:0, from jspubtd.h:47, from jsapi.h:49, from jswrapper.cpp:42: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ In file included from jstypedarray.cpp:44:0: jstypedarray.cpp: In member function 'void TypedArrayTemplate::copyIndexToValue(JSContext*, uint32, js::Value*)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jstypedarray.cpp:1351:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(NativeType) < 4); ^ jstypedarray.cpp: In function 'JSObject* TypedArrayConstruct(JSContext*, jsint, uintN, js::Value*)': jstypedarray.cpp:1671:16: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] return false; ^ jstypedarray.cpp: In instantiation of 'static JSObject* TypedArrayTemplate::createBufferWithSizeAndCount(JSContext*, uint32) [with NativeType = signed char; JSObject = JSObject; JSContext = JSContext; uint32 = unsigned int]': jstypedarray.cpp:770:60: required from 'static JSObject* TypedArrayTemplate::create(JSContext*, uintN, js::Value*) [with NativeType = signed char; JSObject = JSObject; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1643:27: required from here jstypedarray.cpp:1337:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] return false; ^ jstypedarray.cpp: In instantiation of 'static JSObject* TypedArrayTemplate::createBufferWithSizeAndCount(JSContext*, uint32) [with NativeType = unsigned char; JSObject = JSObject; JSContext = JSContext; uint32 = unsigned int]': jstypedarray.cpp:770:60: required from 'static JSObject* TypedArrayTemplate::create(JSContext*, uintN, js::Value*) [with NativeType = unsigned char; JSObject = JSObject; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1646:28: required from here jstypedarray.cpp:1337:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] jstypedarray.cpp: In instantiation of 'static JSObject* TypedArrayTemplate::createBufferWithSizeAndCount(JSContext*, uint32) [with NativeType = short int; JSObject = JSObject; JSContext = JSContext; uint32 = unsigned int]': jstypedarray.cpp:770:60: required from 'static JSObject* TypedArrayTemplate::create(JSContext*, uintN, js::Value*) [with NativeType = short int; JSObject = JSObject; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1649:28: required from here jstypedarray.cpp:1337:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] jstypedarray.cpp: In instantiation of 'static JSObject* TypedArrayTemplate::createBufferWithSizeAndCount(JSContext*, uint32) [with NativeType = short unsigned int; JSObject = JSObject; JSContext = JSContext; uint32 = unsigned int]': jstypedarray.cpp:770:60: required from 'static JSObject* TypedArrayTemplate::create(JSContext*, uintN, js::Value*) [with NativeType = short unsigned int; JSObject = JSObject; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1652:29: required from here jstypedarray.cpp:1337:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] jstypedarray.cpp: In instantiation of 'static JSObject* TypedArrayTemplate::createBufferWithSizeAndCount(JSContext*, uint32) [with NativeType = int; JSObject = JSObject; JSContext = JSContext; uint32 = unsigned int]': jstypedarray.cpp:770:60: required from 'static JSObject* TypedArrayTemplate::create(JSContext*, uintN, js::Value*) [with NativeType = int; JSObject = JSObject; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1655:28: required from here jstypedarray.cpp:1337:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] jstypedarray.cpp: In instantiation of 'static JSObject* TypedArrayTemplate::createBufferWithSizeAndCount(JSContext*, uint32) [with NativeType = unsigned int; JSObject = JSObject; JSContext = JSContext; uint32 = unsigned int]': jstypedarray.cpp:770:60: required from 'static JSObject* TypedArrayTemplate::create(JSContext*, uintN, js::Value*) [with NativeType = unsigned int; JSObject = JSObject; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1658:29: required from here jstypedarray.cpp:1337:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] jstypedarray.cpp: In instantiation of 'static JSObject* TypedArrayTemplate::createBufferWithSizeAndCount(JSContext*, uint32) [with NativeType = float; JSObject = JSObject; JSContext = JSContext; uint32 = unsigned int]': jstypedarray.cpp:770:60: required from 'static JSObject* TypedArrayTemplate::create(JSContext*, uintN, js::Value*) [with NativeType = float; JSObject = JSObject; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1661:30: required from here jstypedarray.cpp:1337:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] jstypedarray.cpp: In instantiation of 'static JSObject* TypedArrayTemplate::createBufferWithSizeAndCount(JSContext*, uint32) [with NativeType = double; JSObject = JSObject; JSContext = JSContext; uint32 = unsigned int]': jstypedarray.cpp:770:60: required from 'static JSObject* TypedArrayTemplate::create(JSContext*, uintN, js::Value*) [with NativeType = double; JSObject = JSObject; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1664:30: required from here jstypedarray.cpp:1337:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] jstypedarray.cpp: In instantiation of 'static JSObject* TypedArrayTemplate::createBufferWithSizeAndCount(JSContext*, uint32) [with NativeType = uint8_clamped; JSObject = JSObject; JSContext = JSContext; uint32 = unsigned int]': jstypedarray.cpp:770:60: required from 'static JSObject* TypedArrayTemplate::create(JSContext*, uintN, js::Value*) [with NativeType = uint8_clamped; JSObject = JSObject; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1667:35: required from here jstypedarray.cpp:1337:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ In file included from jsstr.cpp:55:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jsstr.cpp:62: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsstr.cpp:55:0: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from methodjit/PolyIC.h:46, from jswrapper.cpp:48: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ In file included from jsval.h:48:0, from jspubtd.h:47, from jsapi.h:49, from jswrapper.cpp:42: ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from methodjit/BaseAssembler.h:53:0, from methodjit/PolyIC.h:50, from jswrapper.cpp:48: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsstr.cpp:81:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jstracer.h:48, from jsregexp.cpp:64: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ jsxdrapi.cpp c++ -o jsxdrapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsxdrapi.pp jsxdrapi.cpp In file included from jsxdrapi.cpp:47:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from jsstr.cpp:55:0: jsstr.cpp: In function 'jschar* AllocChars(JSContext*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.cpp:119:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSString::MAX_LENGTH * sizeof(jschar) < UINT32_MAX); ^ In file included from jsstr.cpp:62:0: jsstr.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_Flatten' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsstr.cpp:239:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(extern, BOOL, js_Flatten, CONTEXT, STRING, 0, nanojit::ACCSET_STORE_ANY) ^ jsxml.cpp c++ -o jsxml.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsxml.pp jsxml.cpp jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jsxdrapi.cpp:58:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsstr.cpp: In member function 'const RegExpPair* RegExpGuard::normalizeRegExp(bool, uintN, uintN, js::Value*)': jsstr.cpp:1737:24: warning: converting 'false' to pointer type 'const RegExpPair*' [-Wconversion-null] return false; ^ In file included from jsstr.cpp:62:0: jsstr.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_ConcatStrings' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsstr.cpp:3063:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(str_concat, ^ In file included from jsbit.h:44:0, from jsxml.cpp:49: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jsxml.cpp:76:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ prmjtime.cpp c++ -o prmjtime.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/prmjtime.pp prmjtime.cpp sharkctl.cpp c++ -o sharkctl.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/sharkctl.pp sharkctl.cpp jstracer.cpp c++ -o jstracer.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jstracer.pp jstracer.cpp Assembler.cpp c++ -o Assembler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Assembler.pp ./nanojit/Assembler.cpp In file included from nanojit/nanojit.h:377:0, from jstracer.cpp:58: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from ./nanojit/nanojit.h:377:0, from ./nanojit/Assembler.cpp:40: ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ./nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ./nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsbit.h:44:0, from jstracer.cpp:43: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jstracer.cpp:87:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jstracer.h:48:0, from jstracer.cpp:78: jstracer.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_IntToString' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:323:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(extern, STRING, js_IntToString, CONTEXT, INT32, 1, nanojit::ACCSET_NONE) ^ In file included from jsbit.h:44:0, from jstracer.cpp:43: jstracer.cpp: In function 'void js::NativeToValue(JSContext*, js::Value&, JSValueType, double*)': jsutil.h:120:43: warning: typedef 'js_static_assert73' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jstracer.cpp:2979:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(Value) == sizeof(double)); ^ In file included from jstracer.h:48:0, from jstracer.cpp:78: jstracer.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::GetClosureVar' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:8140:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(extern, UINT32, GetClosureVar, CONTEXT, OBJECT, CVIPTR, DOUBLEPTR, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::GetClosureArg' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:8142:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(extern, UINT32, GetClosureArg, CONTEXT, OBJECT, CVIPTR, DOUBLEPTR, ^ In file included from jsbit.h:44:0, from jstracer.cpp:43: jstracer.cpp: In member function 'nanojit::LIns* js::TraceRecorder::unbox_object(nanojit::LIns*, JSValueType, js::VMSideExit*)': jsutil.h:120:43: warning: typedef 'js_static_assert76' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jstracer.cpp:10001:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSVAL_TYPE_OBJECT == JSVAL_UPPER_INCL_TYPE_OF_VALUE_SET); ^ jstracer.cpp: In member function 'void js::TraceRecorder::unbox_any_object(js::tjit::Address, nanojit::LIns**, nanojit::LIns**)': jsutil.h:120:43: warning: typedef 'js_static_assert77' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jstracer.cpp:10044:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSVAL_TYPE_OBJECT == JSVAL_UPPER_INCL_TYPE_OF_VALUE_SET); ^ jstracer.cpp: In member function 'nanojit::LIns* js::TraceRecorder::unbox_string_id(nanojit::LIns*)': jsutil.h:120:43: warning: typedef 'js_static_assert78' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jstracer.cpp:10118:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSID_TYPE_STRING == 0); ^ In file included from jstracer.h:48:0, from jstracer.cpp:78: jstracer.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::functionProbe' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:10588:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(static, BOOL, functionProbe, CONTEXT, FUNCTION, INT32, 0, ACCSET_ALL) ^ In file included from jsbit.h:44:0, from jstracer.cpp:43: jstracer.cpp: In member function 'void js::TraceRecorder::propagateFailureToBuiltinStatus(nanojit::LIns*, nanojit::LIns*&)': jsutil.h:120:43: warning: typedef 'js_static_assert80' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jstracer.cpp:11186:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JS_TRUE & 1) ^ 1) << 1 == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert81' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jstracer.cpp:11187:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JS_FALSE & 1) ^ 1) << 1 == BUILTIN_ERROR); ^ In file included from jstracer.h:48:0, from jstracer.cpp:78: jstracer.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::ceilReturningInt' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:11432:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(static, BOOL, ceilReturningInt, DOUBLE, INT32PTR, 0, ACCSET_STORE_ANY) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::floorReturningInt' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:11433:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(static, BOOL, floorReturningInt, DOUBLE, INT32PTR, 0, ACCSET_STORE_ANY) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::roundReturningInt' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:11434:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(static, BOOL, roundReturningInt, DOUBLE, INT32PTR, 0, ACCSET_STORE_ANY) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::DeleteIntKey' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:11842:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(extern, BOOL_FAIL, DeleteIntKey, CONTEXT, OBJECT, INT32, BOOL, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::DeleteStrKey' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:11864:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(extern, BOOL_FAIL, DeleteStrKey, CONTEXT, OBJECT, STRING, BOOL, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::MethodWriteBarrier' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:12142:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, MethodWriteBarrier, CONTEXT, OBJECT, UINT32, CVALUEPTR, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::GetPropertyByName' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:12719:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' JS_DEFINE_CALLINFO_5(static, BOOL_FAIL, GetPropertyByName, CONTEXT, OBJECT, STRINGPTR, VALUEPTR, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::GetPropertyByIndex' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:12793:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, GetPropertyByIndex, CONTEXT, OBJECT, INT32, VALUEPTR, 0, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::GetPropertyById' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:12823:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, GetPropertyById, CONTEXT, OBJECT, JSID, VALUEPTR, ^ In file included from jsbit.h:44:0, from jstracer.cpp:43: jstracer.cpp: In member function 'js::RecordingStatus js::TraceRecorder::getPropertyById(nanojit::LIns*, js::Value*)': jsutil.h:120:43: warning: typedef 'js_static_assert91' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jstracer.cpp:12842:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsid) == sizeof(void *)); ^ In file included from jstracer.h:48:0, from jstracer.cpp:78: jstracer.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::GetPropertyWithNativeGetter' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:12881:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, GetPropertyWithNativeGetter, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::SetPropertyByName' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:13204:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' JS_DEFINE_CALLINFO_5(static, BOOL_FAIL, SetPropertyByName, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::InitPropertyByName' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:13223:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, InitPropertyByName, CONTEXT, OBJECT, STRINGPTR, VALUE, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::SetPropertyByIndex' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:13264:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' JS_DEFINE_CALLINFO_5(static, BOOL_FAIL, SetPropertyByIndex, CONTEXT, OBJECT, INT32, VALUEPTR, BOOL, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::InitPropertyByIndex' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:13282:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, InitPropertyByIndex, CONTEXT, OBJECT, INT32, VALUE, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::CheckSameGlobal' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:13525:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(static, BOOL, CheckSameGlobal, OBJECT, OBJECT, 0, ACCSET_STORE_ANY) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::GetUpvarArgOnTrace' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:13584:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' JS_DEFINE_CALLINFO_5(extern, UINT32, GetUpvarArgOnTrace, CONTEXT, UINT32, INT32, UINT32, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::GetUpvarVarOnTrace' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:13586:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' JS_DEFINE_CALLINFO_5(extern, UINT32, GetUpvarVarOnTrace, CONTEXT, UINT32, INT32, UINT32, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::GetUpvarStackOnTrace' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:13588:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' JS_DEFINE_CALLINFO_5(extern, UINT32, GetUpvarStackOnTrace, CONTEXT, UINT32, INT32, UINT32, ^ In file included from jstracer.h:56:0, from jstracer.cpp:78: jstracer.cpp: In member function 'js::RecordingStatus js::TraceRecorder::createThis(JSObject&, nanojit::LIns*, nanojit::LIns**)': ./dist/include/Writer.h:857:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define nameImmw(ww) name(w.immpNonGC((void *) (ww)), #ww) ^ jstracer.cpp:13816:24: note: in expansion of macro 'nameImmw' LIns* args[] = { w.nameImmw(protoSlot), ctor_ins, cx_ins }; ^ In file included from jstracer.h:48:0, from jstracer.cpp:78: jstracer.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::MethodReadBarrier' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:14184:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(static, OBJECT_FAIL, MethodReadBarrier, CONTEXT, OBJECT, SHAPE, OBJECT, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::ObjectToIterator' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:14881:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, ObjectToIterator, CONTEXT, OBJECT, INT32, VALUEPTR, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::IteratorMore' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:14929:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, BOOL_FAIL, IteratorMore, CONTEXT, OBJECT, VALUEPTR, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::CloseIterator' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:14997:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(extern, BOOL_FAIL, CloseIterator, CONTEXT, OBJECT, 0, ACCSET_STORE_ANY) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::HasInstanceOnTrace' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:15471:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(static, BOOL_FAIL, HasInstanceOnTrace, CONTEXT, OBJECT, VALUE, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::js_Unbrand' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:16578:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(extern, BOOL, js_Unbrand, CONTEXT, OBJECT, 0, ACCSET_STORE_ANY) ^ jstracer.cpp: In member function 'js::LoopProfile::ProfileAction js::LoopProfile::profileOperation(JSContext*, JSOp)': jstracer.cpp:17359:20: warning: variable 'v' set but not used [-Wunused-but-set-variable] StackValue v = stackAt(-1); ^ Allocator.cpp c++ -o Allocator.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Allocator.pp ./nanojit/Allocator.cpp In file included from ./nanojit/nanojit.h:377:0, from ./nanojit/Allocator.cpp:40: ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ./nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ./nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from ./nanojit/Native.h:66:0, from ./nanojit/nanojit.h:374, from ./nanojit/Allocator.cpp:40: ./nanojit/NativeX64.h: At global scope: ./nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ In file included from ./nanojit/Native.h:66:0, from ./nanojit/nanojit.h:374, from ./nanojit/LIR.cpp:40: ./nanojit/NativeX64.h: At global scope: ./nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ In file included from ./nanojit/Native.h:66:0, from ./nanojit/nanojit.h:374, from ./nanojit/VMPI.cpp:35: ./nanojit/NativeX64.h: At global scope: ./nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ StubCalls.cpp ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ c++ -o StubCalls.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/StubCalls.pp ./methodjit/StubCalls.cpp ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ./nanojit/nanojit.h:377:0, from ./jsbuiltins.h:45, from ./jstracer.h:48, from ./methodjit/MethodJIT.cpp:42: ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ./nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ./nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from ./methodjit/BaseAssembler.h:47, from ./methodjit/MethodJIT.cpp:43: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/MethodJIT.h:42, from ./methodjit/MethodJIT.cpp:39: ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./methodjit/BaseAssembler.h:53:0, from ./methodjit/MethodJIT.cpp:43: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/StubCalls.cpp:41: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/MethodJIT.h:42, from ./methodjit/MethodJIT.cpp:39: ./methodjit/MethodJIT.cpp: In member function 'void JSStackFrame::methodjitStaticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./methodjit/MethodJIT.cpp:77:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) == 0x30); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./methodjit/MethodJIT.cpp:78:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, ncode_) == 0x28); ^ ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsbuiltins.cpp:59: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./nanojit/Native.h:66:0, from ./nanojit/nanojit.h:374, from ./jsbuiltins.h:45, from ./jstracer.h:48, from ./methodjit/MethodJIT.cpp:42: ./nanojit/NativeX64.h: At global scope: ./nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jstypedarray.cpp:51: nanojit/NativeX64.h: At global scope: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/FrameState.cpp:39: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/MethodJIT.h:42, from ./methodjit/Compiler.cpp:42: ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ FastArithmetic.cpp c++ -o FastArithmetic.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/FastArithmetic.pp ./methodjit/FastArithmetic.cpp ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./methodjit/BaseAssembler.h:53:0, from ./methodjit/CodeGenIncludes.h:63, from ./methodjit/Compiler.h:47, from ./methodjit/Compiler.cpp:47: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/MethodJIT.h:42, from ./methodjit/Compiler.cpp:42: ./methodjit/Compiler.cpp: In member function 'js::mjit::CompileStatus js::mjit::Compiler::generateMethod()': ./jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./methodjit/Compiler.cpp:1123:13: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSOP_LT_LENGTH == JSOP_GE_LENGTH); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./methodjit/Compiler.cpp:1124:13: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSOP_LE_LENGTH == JSOP_GE_LENGTH); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./methodjit/Compiler.cpp:1125:13: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSOP_GT_LENGTH == JSOP_GE_LENGTH); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert71' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./methodjit/Compiler.cpp:1126:13: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSOP_EQ_LENGTH == JSOP_GE_LENGTH); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert72' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./methodjit/Compiler.cpp:1127:13: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSOP_NE_LENGTH == JSOP_GE_LENGTH); ^ ./methodjit/Compiler.cpp: In member function 'void js::mjit::Compiler::jsop_setprop_slow(JSAtom*, bool)': ./jsutil.h:120:43: warning: typedef 'js_static_assert73' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./methodjit/Compiler.cpp:2911:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSOP_SETNAME_LENGTH == JSOP_SETPROP_LENGTH); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsbool.h:46, from ./methodjit/FastArithmetic.cpp:41: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ FastOps.cpp ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ c++ -o FastOps.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/FastOps.pp ./methodjit/FastOps.cpp ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from ./methodjit/MachineRegs.h:44, from ./methodjit/FrameState.h:44, from ./methodjit/FrameState.cpp:40: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/FrameState.cpp:39: ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./methodjit/BaseAssembler.h:53:0, from ./methodjit/CodeGenIncludes.h:63, from ./methodjit/FrameState.h:46, from ./methodjit/FrameState.cpp:40: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from ./methodjit/PunboxAssembler.h:43, from ./methodjit/CodeGenIncludes.h:58, from ./methodjit/Compiler.h:47, from ./methodjit/FastArithmetic.cpp:45: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsbool.h:46, from ./methodjit/FastOps.cpp:40: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsbool.h:46, from ./methodjit/FastArithmetic.cpp:41: ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./methodjit/BaseAssembler.h:53:0, from ./methodjit/CodeGenIncludes.h:63, from ./methodjit/Compiler.h:47, from ./methodjit/FastArithmetic.cpp:45: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./methodjit/FastOps.cpp:46:0: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsstr.cpp:62: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./nanojit/Native.h:66:0, from ./nanojit/nanojit.h:374, from ./nanojit/NativeX64.cpp:40: ./nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from ./methodjit/MachineRegs.h:44, from ./methodjit/FrameState.h:44, from ./methodjit/StubCompiler.h:47, from ./methodjit/StubCompiler.cpp:42: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/MethodJIT.h:42, from ./methodjit/StubCalls.h:44, from ./methodjit/StubCompiler.cpp:41: ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./methodjit/BaseAssembler.h:53:0, from ./methodjit/CodeGenIncludes.h:63, from ./methodjit/FrameState.h:46, from ./methodjit/StubCompiler.h:47, from ./methodjit/StubCompiler.cpp:42: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./jsscope.h:52, from ./methodjit/MonoIC.cpp:40: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from ./methodjit/MonoIC.h:44, from ./methodjit/MonoIC.cpp:42: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./methodjit/BaseAssembler.h:53:0, from ./methodjit/CodeGenIncludes.h:63, from ./methodjit/MonoIC.h:48, from ./methodjit/MonoIC.cpp:42: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./jsscope.h:52, from ./methodjit/MonoIC.cpp:40: ./methodjit/MonoIC.cpp: In member function 'bool CallCompiler::generateNativeStub()': ./jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./methodjit/MonoIC.cpp:880:13: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(Value) == 8); ^ In file included from ./nanojit/Native.h:66:0, from ./nanojit/nanojit.h:374, from ./jsbuiltins.h:45, from ./jstracer.h:48, from ./methodjit/StubCalls.cpp:55: ./nanojit/NativeX64.h: At global scope: ./nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ Retcon.cpp c++ -o Retcon.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Retcon.pp ./methodjit/Retcon.cpp In file included from ./assembler/assembler/MacroAssembler.h:54:0, from ./methodjit/PolyIC.h:46, from ./methodjit/PolyIC.cpp:39: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/PolyIC.h:43, from ./methodjit/PolyIC.cpp:39: ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./methodjit/BaseAssembler.h:53:0, from ./methodjit/PolyIC.h:50, from ./methodjit/PolyIC.cpp:39: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/InvokeHelpers.cpp:41: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./methodjit/PolyIC.cpp: In function 'void js::mjit::ic::SetProp(js::VMFrame&, js::mjit::ic::PICInfo*)': ./methodjit/PolyIC.cpp:1740:11: warning: variable 'rval' set but not used [-Wunused-but-set-variable] Value rval = f.regs.sp[-1]; ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/Retcon.h:49, from ./methodjit/Retcon.cpp:43: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ./nanojit/nanojit.h:377:0, from ./jsbuiltins.h:45, from ./jstracer.h:48, from ./methodjit/InvokeHelpers.cpp:55: ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ./nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ./nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from ./methodjit/PunboxAssembler.h:43, from ./methodjit/CodeGenIncludes.h:58, from ./methodjit/Compiler.h:47, from ./methodjit/Retcon.h:52, from ./methodjit/Retcon.cpp:43: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/Retcon.h:49, from ./methodjit/Retcon.cpp:43: ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./methodjit/BaseAssembler.h:53:0, from ./methodjit/CodeGenIncludes.h:63, from ./methodjit/Compiler.h:47, from ./methodjit/Retcon.h:52, from ./methodjit/Retcon.cpp:43: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from ./methodjit/MonoIC.h:44, from ./methodjit/InvokeHelpers.cpp:57: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./methodjit/BaseAssembler.h:53:0, from ./methodjit/CodeGenIncludes.h:63, from ./methodjit/MonoIC.h:48, from ./methodjit/InvokeHelpers.cpp:57: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ ./methodjit/InvokeHelpers.cpp: In function 'void* AtSafePoint(JSContext*)': ./methodjit/InvokeHelpers.cpp:731:16: warning: converting 'false' to pointer type 'void*' [-Wconversion-null] return false; ^ TrampolineCompiler.cpp c++ -o TrampolineCompiler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/TrampolineCompiler.pp ./methodjit/TrampolineCompiler.cpp checks.cc c++ -o checks.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/checks.pp ./v8-dtoa/checks.cc In file included from ./v8-dtoa/v8.h:45:0, from ./v8-dtoa/checks.cc:31: ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h:156: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 ./assembler/assembler/MacroAssembler.h:54:0, from ./methodjit/PunboxAssembler.h:43, from ./methodjit/CodeGenIncludes.h:58, from ./methodjit/TrampolineCompiler.h:45, from ./methodjit/TrampolineCompiler.cpp:41: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ conversions.cc c++ -o conversions.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/conversions.pp ./v8-dtoa/conversions.cc In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./methodjit/TrampolineCompiler.h:44, from ./methodjit/TrampolineCompiler.cpp:41: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ diy-fp.cc c++ -o diy-fp.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/diy-fp.pp ./v8-dtoa/diy-fp.cc In file included from ./v8-dtoa/v8.h:45:0, from ./v8-dtoa/conversions.cc:30: ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h:156: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 ./v8-dtoa/v8.h:45:0, from ./v8-dtoa/diy-fp.cc:28: ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; ^ ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ v8-dtoa.cc c++ -o v8-dtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/v8-dtoa.pp ./v8-dtoa/v8-dtoa.cc ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./methodjit/BaseAssembler.h:53:0, from ./methodjit/CodeGenIncludes.h:63, from ./methodjit/TrampolineCompiler.h:45, from ./methodjit/TrampolineCompiler.cpp:41: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ fast-dtoa.cc c++ -o fast-dtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/fast-dtoa.pp ./v8-dtoa/fast-dtoa.cc In file included from ./v8-dtoa/v8.h:45:0, from ./v8-dtoa/fast-dtoa.cc:28: ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h:156: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 ./v8-dtoa/v8.h:45:0, from ./v8-dtoa/v8-dtoa.cc:33: ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; ^ platform.cc c++ -o platform.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/platform.pp ./v8-dtoa/platform.cc In file included from ./v8-dtoa/v8.h:45:0, from ./v8-dtoa/platform.cc:37: ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; ^ utils.cc c++ -o utils.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/utils.pp ./v8-dtoa/utils.cc In file included from ./v8-dtoa/v8.h:45:0, from ./v8-dtoa/utils.cc:30: ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; ^ Assertions.cpp ExecutableAllocatorPosix.cpp c++ -o Assertions.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Assertions.pp ./assembler/wtf/Assertions.cpp c++ -o ExecutableAllocatorPosix.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocatorPosix.pp ./assembler/jit/ExecutableAllocatorPosix.cpp ExecutableAllocatorWin.cpp c++ -o ExecutableAllocatorWin.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocatorWin.pp ./assembler/jit/ExecutableAllocatorWin.cpp ExecutableAllocatorOS2.cpp c++ -o ExecutableAllocatorOS2.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocatorOS2.pp ./assembler/jit/ExecutableAllocatorOS2.cpp ExecutableAllocator.cpp c++ -o ExecutableAllocator.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocator.pp ./assembler/jit/ExecutableAllocator.cpp ARMAssembler.cpp c++ -o ARMAssembler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ARMAssembler.pp ./assembler/assembler/ARMAssembler.cpp Logging.cpp c++ -o Logging.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Logging.pp ./methodjit/Logging.cpp MacroAssemblerARM.cpp c++ -o MacroAssemblerARM.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MacroAssemblerARM.pp ./assembler/assembler/MacroAssemblerARM.cpp MacroAssemblerX86Common.cpp c++ -o MacroAssemblerX86Common.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MacroAssemblerX86Common.pp ./assembler/assembler/MacroAssemblerX86Common.cpp In file included from ./methodjit/Logging.cpp:45:0: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ RegexCompiler.cpp c++ -o RegexCompiler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/RegexCompiler.pp ./yarr/yarr/RegexCompiler.cpp ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ RegexJIT.cpp c++ -o RegexJIT.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/RegexJIT.pp ./yarr/yarr/RegexJIT.cpp In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/wtf/ASCIICType.h:32, from ./yarr/yarr/RegexParser.h:30, from ./yarr/yarr/RegexCompiler.h:29, from ./yarr/yarr/RegexCompiler.cpp:27: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from ./yarr/yarr/RegexJIT.h:31, from ./yarr/yarr/RegexJIT.cpp:26: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsapi.h:49, 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 ./yarr/yarr/RegexJIT.h:31, from ./yarr/yarr/RegexJIT.cpp:26: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ pcre_compile.cpp c++ -o pcre_compile.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_compile.pp ./yarr/pcre/pcre_compile.cpp In file included from ./nanojit/Native.h:66:0, from ./nanojit/nanojit.h:374, from ./jsbuiltins.h:45, from ./jstracer.h:48, from ./methodjit/InvokeHelpers.cpp:55: ./nanojit/NativeX64.h: At global scope: ./nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./yarr/pcre/pcre_compile.cpp: In function 'bool compileBranch(int, int*, unsigned char**, const UChar**, const UChar*, ErrorCode*, int*, int*, CompileData&)': ./yarr/pcre/pcre_compile.cpp:572:18: warning: variable 'tempptr' set but not used [-Wunused-but-set-variable] const UChar* tempptr; ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_exec.cpp:45: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert51' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert60' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert63' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jstracer.cpp:58: nanojit/NativeX64.h: At global scope: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ pcre_ucp_searchfuncs.cpp c++ -o pcre_ucp_searchfuncs.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_ucp_searchfuncs.pp ./yarr/pcre/pcre_ucp_searchfuncs.cpp In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_xclass.cpp:43: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsperf.cpp c++ -o jsperf.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsperf.pp ./perf/jsperf.cpp In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_ucp_searchfuncs.cpp:44: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsapi.h:49, from ./perf/jsperf.h:42, from ./perf/jsperf.cpp:39: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ pm_linux.cpp c++ -o pm_linux.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pm_linux.pp ./perf/pm_linux.cpp ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ rm -f libjs_static.a ar cr libjs_static.a jsanalyze.o jsapi.o jsarena.o jsarray.o jsatom.o jsbool.o jsclone.o jscntxt.o jscompartment.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o jsexn.o jsfriendapi.o jsfun.o jsgc.o jsgcchunk.o jsgcstats.o jshash.o jsinterp.o jsinvoke.o jsiter.o jslock.o jslog2.o jsmath.o jsnativestack.o jsnum.o jsobj.o json.o jsopcode.o jsparse.o jsproxy.o jsprf.o jsprobes.o jspropertycache.o jspropertytree.o jsreflect.o jsregexp.o jsscan.o jsscope.o jsscript.o jsstr.o jstypedarray.o jsutil.o jswrapper.o jsxdrapi.o jsxml.o prmjtime.o sharkctl.o jstracer.o Assembler.o Allocator.o CodeAlloc.o Containers.o Fragmento.o LIR.o njconfig.o RegAlloc.o avmplus.o NativeX64.o jsbuiltins.o VMPI.o Writer.o MethodJIT.o StubCalls.o Compiler.o FrameState.o FastArithmetic.o FastOps.o StubCompiler.o MonoIC.o PolyIC.o ImmutableSync.o InvokeHelpers.o Retcon.o TrampolineCompiler.o checks.o conversions.o diy-fp.o v8-dtoa.o fast-dtoa.o platform.o utils.o Assertions.o ExecutableAllocatorPosix.o ExecutableAllocatorWin.o ExecutableAllocatorOS2.o ExecutableAllocator.o ARMAssembler.o Logging.o MacroAssemblerARM.o MacroAssemblerX86Common.o RegexCompiler.o RegexJIT.o pcre_compile.o pcre_exec.o pcre_tables.o pcre_xclass.o pcre_ucp_searchfuncs.o jsperf.o pm_linux.o ranlib libjs_static.a rm -f libmozjs185.so c++ -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -fPIC -shared -Wl,-z,defs -Wl,-h,libmozjs185.so -o libmozjs185.so jsanalyze.o jsapi.o jsarena.o jsarray.o jsatom.o jsbool.o jsclone.o jscntxt.o jscompartment.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o jsexn.o jsfriendapi.o jsfun.o jsgc.o jsgcchunk.o jsgcstats.o jshash.o jsinterp.o jsinvoke.o jsiter.o jslock.o jslog2.o jsmath.o jsnativestack.o jsnum.o jsobj.o json.o jsopcode.o jsparse.o jsproxy.o jsprf.o jsprobes.o jspropertycache.o jspropertytree.o jsreflect.o jsregexp.o jsscan.o jsscope.o jsscript.o jsstr.o jstypedarray.o jsutil.o jswrapper.o jsxdrapi.o jsxml.o prmjtime.o sharkctl.o jstracer.o Assembler.o Allocator.o CodeAlloc.o Containers.o Fragmento.o LIR.o njconfig.o RegAlloc.o avmplus.o NativeX64.o jsbuiltins.o VMPI.o Writer.o MethodJIT.o StubCalls.o Compiler.o FrameState.o FastArithmetic.o FastOps.o StubCompiler.o MonoIC.o PolyIC.o ImmutableSync.o InvokeHelpers.o Retcon.o TrampolineCompiler.o checks.o conversions.o diy-fp.o v8-dtoa.o fast-dtoa.o platform.o utils.o Assertions.o ExecutableAllocatorPosix.o ExecutableAllocatorWin.o ExecutableAllocatorOS2.o ExecutableAllocator.o ARMAssembler.o Logging.o MacroAssemblerARM.o MacroAssemblerX86Common.o RegexCompiler.o RegexJIT.o pcre_compile.o pcre_exec.o pcre_tables.o pcre_xclass.o pcre_ucp_searchfuncs.o jsperf.o pm_linux.o -lpthread -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/lib -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,-soname,libmozjs185.so.1.0 -ldl -lm -ldl chmod +x libmozjs185.so /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config/nsinstall -R -m 644 libjs_static.a ./dist/lib /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so ./dist/lib /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so ./dist/bin /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config/nsinstall -R -m 755 host_jskwgen host_jsoplengen ./dist/host/bin make[2]: Entering directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config' /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config/nsinstall -R -m 755 nsinstall ../dist/host/bin make[2]: Leaving directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config' make[2]: Entering directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/shell' js.cpp jsworkers.cpp c++ -o js.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/js.pp js.cpp c++ -o jsworkers.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/jsworkers.pp jsworkers.cpp In file included from ../jsval.h:48:0, from ../jspubtd.h:47, from ../jsapi.h:49, from jsworkers.cpp:48: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ In file included from js.cpp:56:0: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ../jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ../jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ../jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ../jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ../jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsworkers.cpp: In member function 'void js::workers::MainQueue::destroy(JSContext*)': jsworkers.cpp:372:16: warning: deleting object of polymorphic class type 'js::workers::MainQueue' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] delete this; ^ jsworkers.cpp: In member function 'bool js::workers::ThreadPool::start(JSContext*)': jsworkers.cpp:512:20: warning: deleting object of polymorphic class type 'js::workers::WorkerQueue' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] delete wq; ^ jsworkers.cpp: In member function 'void js::workers::ThreadPool::shutdown(JSContext*)': jsworkers.cpp:549:16: warning: deleting object of polymorphic class type 'js::workers::WorkerQueue' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] delete wq; ^ jsworkers.cpp: In static member function 'static void js::workers::Worker::jsFinalize(JSContext*, JSObject*)': jsworkers.cpp:691:20: warning: deleting object of polymorphic class type 'js::workers::Worker' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] delete w; ^ jsworkers.cpp: In static member function 'static js::workers::Worker* js::workers::Worker::create(JSContext*, js::workers::WorkerParent*, JSString*, JSObject*)': jsworkers.cpp:1076:16: warning: deleting object of polymorphic class type 'js::workers::Worker' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] delete w; ^ ../jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ../nanojit/nanojit.h:377:0, from ../jsbuiltins.h:45, from js.cpp:62: ../nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ../nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ ../nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ../nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from js.cpp:56:0: ../jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ../jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ../jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ../jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from js.cpp:97:0: ../jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ../jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ../nanojit/Native.h:66:0, from ../nanojit/nanojit.h:374, from ../jsbuiltins.h:45, from js.cpp:62: ../nanojit/NativeX64.h: At global scope: ../nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ../jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ../jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ../jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ../jsval.h:48:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testConservativeGC.cpp:1: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ In file included from ../jsval.h:48:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testDebugger.cpp:5: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ testDefineGetterSetterNonEnumerable.cpp c++ -o testDefineGetterSetterNonEnumerable.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testDefineGetterSetterNonEnumerable.pp testDefineGetterSetterNonEnumerable.cpp ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ testDefineProperty.cpp c++ -o testDefineProperty.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testDefineProperty.pp testDefineProperty.cpp testExtendedEq.cpp c++ -o testExtendedEq.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testExtendedEq.pp testExtendedEq.cpp In file included from ../jsval.h:48:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testExtendedEq.cpp:8: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ testFuncCallback.cpp c++ -o testFuncCallback.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testFuncCallback.pp testFuncCallback.cpp In file included from ../jsval.h:48:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testFuncCallback.cpp:1: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ testGCChunkAlloc.cpp c++ -o testGCChunkAlloc.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testGCChunkAlloc.pp testGCChunkAlloc.cpp ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ../jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ../jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ testGetPropertyDefault.cpp c++ -o testGetPropertyDefault.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testGetPropertyDefault.pp testGetPropertyDefault.cpp ../jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ../nanojit/nanojit.h:377:0, from ../jsbuiltins.h:45, from ../jstracer.h:48, from testFuncCallback.cpp:6: ../nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ../nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ ../nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ../nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ testIntString.cpp c++ -o testIntString.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testIntString.pp testIntString.cpp testLookup.cpp c++ -o testLookup.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testLookup.pp testLookup.cpp In file included from ../nanojit/Native.h:66:0, from ../nanojit/nanojit.h:374, from ../jsbuiltins.h:45, from ../jstracer.h:48, from testFuncCallback.cpp:6: ../nanojit/NativeX64.h: At global scope: ../nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ testOps.cpp c++ -o testOps.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testOps.pp testOps.cpp ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ../jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ../jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ../jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ testPropCache.cpp c++ -o testPropCache.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testPropCache.pp testPropCache.cpp testSameValue.cpp c++ -o testSameValue.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testSameValue.pp testSameValue.cpp In file included from ../jsval.h:48:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testIntString.cpp:5: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ testScriptObject.cpp c++ -o testScriptObject.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testScriptObject.pp testScriptObject.cpp In file included from ../jsval.h:48:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testLookup.cpp:5: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ testSetProperty.cpp c++ -o testSetProperty.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testSetProperty.pp testSetProperty.cpp ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ testThreadGC.cpp c++ -o testThreadGC.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testThreadGC.pp testThreadGC.cpp testThreads.cpp c++ -o testThreads.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testThreads.pp testThreads.cpp testTrap.cpp c++ -o testTrap.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testTrap.pp testTrap.cpp In file included from ../jsval.h:48:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testThreadGC.cpp:7: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ../jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ../jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ../jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ testUTF8.cpp c++ -o testUTF8.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testUTF8.pp testUTF8.cpp testVersion.cpp c++ -o testVersion.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testVersion.pp testVersion.cpp testXDR.cpp c++ -o testXDR.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testXDR.pp testXDR.cpp testCustomIterator.cpp c++ -o testCustomIterator.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux4.19\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testCustomIterator.pp testCustomIterator.cpp In file included from ../jsval.h:48:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testCustomIterator.cpp:1: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ In file included from ../jsval.h:48:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testTrap.cpp:5: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ In file included from ../jsval.h:48:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testVersion.cpp:1: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ../jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ../jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ../jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ../jsval.h:48:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testXDR.cpp:5: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ c++ -o jsapi-tests -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -Wall -g -O2 -fPIC -DPIC -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer tests.o selfTest.o testBug604087.o testClassGetter.o testCloneScript.o testConservativeGC.o testContexts.o testDebugger.o testDeepFreeze.o testDefineGetterSetterNonEnumerable.o testDefineProperty.o testExtendedEq.o testFuncCallback.o testGCChunkAlloc.o testGetPropertyDefault.o testIntString.o testLookup.o testNewObject.o testOps.o testPropCache.o testSameValue.o testScriptObject.o testSetProperty.o testThreadGC.o testThreads.o testTrap.o testUTF8.o testVersion.o testXDR.o testCustomIterator.o -lpthread -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/lib -L../dist/bin -L../dist/lib ../libjs_static.a -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config/nsinstall -R -m 755 jsapi-tests ../dist/bin make[2]: Leaving directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/jsapi-tests' make[2]: Entering directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/tests' make[2]: Nothing to be done for `libs'. make[2]: Leaving directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/tests' /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so dist/sdk/lib make[1]: Leaving directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src' make tools make[1]: Entering directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src' make[2]: Entering directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config' make[2]: Nothing to be done for `tools'. make[2]: Leaving directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config' make[2]: Entering directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/shell' make[2]: Nothing to be done for `tools'. make[2]: Leaving directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/shell' make[2]: Entering directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/jsapi-tests' make[2]: Nothing to be done for `tools'. make[2]: Leaving directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/jsapi-tests' make[2]: Entering directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/tests' make[2]: Nothing to be done for `tools'. make[2]: Leaving directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/tests' make[1]: Leaving directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src' if test -d ./dist/bin ; then touch ./dist/bin/.purgecaches ; fi make: Leaving directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.55963 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/libmozjs-buildroot + : + /bin/rm -rf -- /usr/src/tmp/libmozjs-buildroot + cd libmozjs-1.8.5 + cd js/src + make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/libmozjs-buildroot make: Entering directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src' cat mozjs185.pc.in | sed \ -e "s|%prefix%|/usr|" \ -e "s|%includedir%|/usr/include|" \ -e "s|%libdir%|/usr/lib64|" \ -e 's|%MOZILLA_VERSION%|1.8.5|' \ > mozjs185.pc && chmod 644 mozjs185.pc pkg_config_file: mozjs185.pc /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config/nsinstall -t -m 644 mozjs185.pc /usr/src/tmp/libmozjs-buildroot/usr/lib64/pkgconfig /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config/nsinstall -t js-config.h jsautocfg.h /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/jsautokw.h js.msg jsanalyze.h jsapi.h jsarray.h jsarena.h jsatom.h jsbit.h jsbool.h jsclist.h jsclone.h jscntxt.h jscompat.h jsdate.h jsdbgapi.h jsdhash.h jsdtoa.h jsemit.h jsfun.h jsfriendapi.h jsgc.h jscell.h jsgcchunk.h jsgcstats.h jscompartment.h jshash.h jsinterp.h jsinttypes.h jsiter.h jslock.h jslong.h jsmath.h jsobj.h jsobjinlines.h json.h jsopcode.tbl jsopcode.h jsopcodeinlines.h jsotypes.h jsparse.h jsproxy.h jsprf.h jsprobes.h jspropertycache.h jspropertycacheinlines.h jspropertytree.h jsproto.tbl jsprvtd.h jspubtd.h jsreflect.h jsregexp.h jsscan.h jsscope.h jsscript.h jsscriptinlines.h jsstaticcheck.h jsstdint.h jsstr.h jstracer.h jshotloop.h jstypedarray.h jstypes.h jsutil.h jsvector.h jstl.h jshashtable.h jsversion.h jswrapper.h jsxdrapi.h jsxml.h jsval.h jsvalue.h prmjtime.h jsbuiltins.h ./nanojit/Assembler.h ./nanojit/Allocator.h ./nanojit/CodeAlloc.h ./nanojit/Containers.h ./nanojit/LIR.h ./nanojit/LIRopcode.tbl ./nanojit/avmplus.h ./nanojit/Fragmento.h ./nanojit/Native.h ./nanojit/NativeCommon.h ./nanojit/NativeX64.h ./nanojit/njconfig.h ./nanojit/njcpudetect.h ./nanojit/RegAlloc.h ./nanojit/nanojit.h ./nanojit/VMPI.h ./tracejit/Writer.h ./perf/jsperf.h /usr/src/tmp/libmozjs-buildroot/usr/include/js /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config/nsinstall -t js-config /usr/src/tmp/libmozjs-buildroot/usr/bin /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config/nsinstall -t libjs_static.a /usr/src/tmp/libmozjs-buildroot/usr/lib64 mv -f /usr/src/tmp/libmozjs-buildroot/usr/lib64/libjs_static.a /usr/src/tmp/libmozjs-buildroot/usr/lib64/libmozjs185-1.0.a /usr/src/RPM/BUILD/libmozjs-1.8.5/js/src/config/nsinstall -t libmozjs185.so /usr/src/tmp/libmozjs-buildroot/usr/lib64 mv -f /usr/src/tmp/libmozjs-buildroot/usr/lib64/libmozjs185.so /usr/src/tmp/libmozjs-buildroot/usr/lib64/libmozjs185.so.1.0.0 ln -s /usr/src/tmp/libmozjs-buildroot/usr/lib64/libmozjs185.so.1.0.0 /usr/src/tmp/libmozjs-buildroot/usr/lib64/libmozjs185.so.1.0 ln -s /usr/src/tmp/libmozjs-buildroot/usr/lib64/libmozjs185.so.1.0 /usr/src/tmp/libmozjs-buildroot/usr/lib64/libmozjs185.so make: Leaving directory `/usr/src/RPM/BUILD/libmozjs-1.8.5/js/src' + cp -f jitstats.tbl jsast.tbl jskeyword.tbl jsopcode.tbl jsproto.tbl jsreops.tbl /usr/src/tmp/libmozjs-buildroot//usr/include/js/ + set +x '/usr/src/tmp/libmozjs-buildroot/usr/lib64/libmozjs185.so' -> 'libmozjs185.so.1.0' '/usr/src/tmp/libmozjs-buildroot/usr/lib64/libmozjs185.so.1.0' -> 'libmozjs185.so.1.0.0' + cd /usr/src/tmp/libmozjs-buildroot//usr/lib64/pkgconfig + ln -s mozjs185.pc mozjs.pc + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/libmozjs-buildroot (auto) mode of './usr/lib64/libmozjs185.so.1.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/libmozjs185-1.0.a' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/libmozjs-buildroot (binconfig,pkgconfig,libtool,desktop) /usr/bin/js-config: 7,8c7,8 < JS_CONFIG_LIBS='-L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl -lm -ldl ' < MOZ_JS_LIBS='-L/usr/lib64 -lmozjs185' --- > JS_CONFIG_LIBS=' -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl -lm -ldl ' > MOZ_JS_LIBS=' -lmozjs185' /usr/lib64/pkgconfig/mozjs185.pc: Libs: '-L${libdir} -lmozjs185' --> '-lmozjs185' Compressing files in /usr/src/tmp/libmozjs-buildroot (auto) Adjusting library links in /usr/src/tmp/libmozjs-buildroot ./usr/lib64: libmozjs185.so.1.0 -> libmozjs185.so.1.0.0 Verifying ELF objects in /usr/src/tmp/libmozjs-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: libmozjs-1.8.5-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mpvyBn find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) lib.prov: /usr/src/tmp/libmozjs-buildroot/usr/lib64/libmozjs185.so.1.0: 753 symbols, 20 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7AFgh4 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Provides: libmozjs185.so.1.0()(64bit) = set:ndehaeAkkQLMYQovPaU5ssUuMbHLJHZxoYIM7o0bZsNn9QSGEkQOXDbKe8mkzpXPx1l6x62FZIBkbCnEA6ZCwjQeLBOZqwgQtyZ1JjZfmZBN1gZKnaB5i95fZ5GxEGViaHKNSZtUt5pscWILk4ChRkZDx0Bf8WUENCPGTKsQ2oZA4FG9hIDJx9tguWbt7cZsyZ6D4ginqEFev2wyWMuCnkqAlnD7eHRjtsHu025qT4gnKikBG4Re9RCuipeKvYA9j6qv7zo9OitObYhKldcOk6DJc10aD5a95uWq1a6R6zbHG22ozhzVYpG3DqinnaTPF1Ur9eR7bNvrhsEfDGj9xKfObjV810BJ8wLT9dhto40n0lOMT9ycw7blrpLxwMB8aOGyluyKlTQBOurcYD2EQbqIRVjUUH0UVAqAtqJBwTmHNJrdUQWvgL9EeHkmBKZcOdOHEJ27G7Mlpsazp6RaSrcFANUvBqcR47C4Kq4fOrCk1nBYHVyAMwrJrjZjpHtYTUx19A6l94u5AdJvUTkovxH709DUyVyQZnyIEv3m5JyDiZz0O9nRdJZhJAFIj5VDP48CUHmivlsQ41xb0BxO1c2UT6c4mQzZKsgst8o9HtEEnOOmEaMQCrjYdG4W5PUqR199NFqdUtkgEBjhAeBoIrM6HtCnOwLzYDdRp0enlzlje6iGrKPTvW4uiofZ6JYqD47ejmEIK8ZtsewDzteh2QbX15GwRTpYocgjsYWZvSEZjCZtt3TftTWnOVi8TNyHdB7ZiMRIliCBW5ILqXag7a0ocYrfJW7eLv8Ti9rZcwmjiFsQ3NbzupxCz01BRILQQ1Vgy4MjhZawnDykNZHMNUNna2OUz8j3UFMhNtEg9RV8pufvQVW0Rtb1U0rfltVZpb6tpZFy66sA805wZzrVdrYNahUUeXdGN3BwnzylsA3ERSHhdJZhZ5qdQwP9PqK59dwIoGDkkjQT6Lo9ompv0VHkPZJQhrgQU0ALZb5KZDl6ljLT5z01xSxceRS0H53rhc4KSmN2fPtSp4J8hMhovUfoWYG054vnmwpxxS9Oha6Z8sjYoD99L7nmb0u8G8SxwWtTH59NzYvMA7GQRhUe32kZfvTidu7flzuIKWBZFprCyM6ZeV1zQ3Y7gw81ZFHTexQIL7b0YtpxnCIqvMlyvJAcsoeDf6FZIlxDPBeF7uag8UdBE6hHwkXjIFJHN0alHeWmIzMsAWKUVvk7Oct9uJcuB4p671Mq9SZ8YgEAJpZjncRyAZ8ZAqqhZrWCGo3i6gfIgyr5c1wYbwzSsuMdDjMyRT4lb3e1Xx3IpddqdVZDg7FysdDcQWo65h9QrSCbKmLHVKlydwMrAjwp25s2WuEpy8Vci1dvxkvcwgjZ4m1j9QcC1Z1paleZw8TvmNYTyW1PyPhYZcKLL4vG3Qow5RIpAc6UwWNGYwYM6JmeWBXCS0ku81Tvpt3h1TFpbbPbNdjyay7z6BzjHrHHLVsIJ45lzEqXPTKsG5QNwgjFhCsZD1 Requires: libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libnspr4.so()(64bit) >= set:mhUP8ZtaUiIdEHuvtA1COlIyzIcOrjcnrEj2IyRPokEimwZve, libpthread.so.0(GLIBC_2.2.5)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.S6v4AQ Creating libmozjs-debuginfo package Processing files: libmozjs-devel-1.8.5-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7PPqUF find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gEVlby find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) In file included from /usr/src/tmp/libmozjs-buildroot/usr/include/js/jsvector.h:44:0, from /usr/src/tmp/libmozjs-buildroot/usr/include/js/jsgc.h:62: /usr/src/tmp/libmozjs-buildroot/usr/include/js/jstl.h:46:15: fatal error: new: No such file or directory compilation terminated. cpp.req: /usr/src/tmp/libmozjs-buildroot/usr/include/js/jsgc.h: cpp failed, trying c++ mode /usr/src/tmp/libmozjs-buildroot/usr/include/js/Native.h:72:2: error: #error "unknown nanojit architecture" #error "unknown nanojit architecture" ^ cpp.req: WARNING: /usr/src/tmp/libmozjs-buildroot/usr/include/js/Native.h: cpp failed /usr/src/tmp/libmozjs-buildroot/usr/include/js/jsscope.h:59:26: fatal error: jsstrinlines.h: No such file or directory compilation terminated. cpp.req: WARNING: /usr/src/tmp/libmozjs-buildroot/usr/include/js/jsscope.h: cpp failed /usr/src/tmp/libmozjs-buildroot/usr/include/js/NativeX64.h:46:2: error: #error "NANOJIT_64BIT must be defined for X64 backend" #error "NANOJIT_64BIT must be defined for X64 backend" ^ cpp.req: WARNING: /usr/src/tmp/libmozjs-buildroot/usr/include/js/NativeX64.h: cpp failed In file included from /usr/src/tmp/libmozjs-buildroot/usr/include/js/jsobjinlines.h:53:0: /usr/src/tmp/libmozjs-buildroot/usr/include/js/jsscope.h:59:26: fatal error: jsstrinlines.h: No such file or directory compilation terminated. cpp.req: WARNING: /usr/src/tmp/libmozjs-buildroot/usr/include/js/jsobjinlines.h: cpp failed /usr/src/tmp/libmozjs-buildroot/usr/include/js/jsopcodeinlines.h:39:25: fatal error: jsautooplen.h: No such file or directory compilation terminated. cpp.req: WARNING: /usr/src/tmp/libmozjs-buildroot/usr/include/js/jsopcodeinlines.h: cpp failed In file included from /usr/src/tmp/libmozjs-buildroot/usr/include/js/jsscriptinlines.h:49:0: /usr/src/tmp/libmozjs-buildroot/usr/include/js/jsscope.h:59:26: fatal error: jsstrinlines.h: No such file or directory compilation terminated. cpp.req: WARNING: /usr/src/tmp/libmozjs-buildroot/usr/include/js/jsscriptinlines.h: cpp failed In file included from /usr/src/tmp/libmozjs-buildroot/usr/include/js/jspropertycacheinlines.h:47:0: /usr/src/tmp/libmozjs-buildroot/usr/include/js/jsscope.h:59:26: fatal error: jsstrinlines.h: No such file or directory compilation terminated. cpp.req: WARNING: /usr/src/tmp/libmozjs-buildroot/usr/include/js/jspropertycacheinlines.h: cpp failed Provides: pkgconfig(mozjs) = 1.8.5, pkgconfig(mozjs185) = 1.8.5 Requires: libmozjs = 1.8.5-alt2, /usr/lib64/libmozjs185.so.1.0, /usr/lib64/pkgconfig, libnspr-devel, pkgconfig(nspr) >= 4.7 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lcK0AG Processing files: libmozjs-devel-static-1.8.5-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6Z3UWS find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zuOHf8 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: libmozjs-devel = 1.8.5-alt2, glibc-devel-static Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Cbs4tq Processing files: libmozjs-tools-1.8.5-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5FuDHL find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UtdjP9 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) find-requires: FINDPACKAGE-COMMANDS: cat Requires: /bin/sh, coreutils Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nELXXA Processing files: libmozjs-debuginfo-1.8.5-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ubDvz5 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.P1Qb4C find-requires: running scripts (debuginfo) Provides: debug64(libmozjs185.so.1.0) Requires: libmozjs = 1.8.5-alt2, debug64(libc.so.6), debug64(libm.so.6), debug64(libnspr4.so), debug64(libpthread.so.0), debug64(libstdc++.so.6) Removing 1 extra deps from libmozjs-devel due to dependency on libmozjs Wrote: /usr/src/RPM/RPMS/x86_64/libmozjs-1.8.5-alt2.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libmozjs-devel-1.8.5-alt2.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libmozjs-devel-static-1.8.5-alt2.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libmozjs-tools-1.8.5-alt2.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libmozjs-debuginfo-1.8.5-alt2.x86_64.rpm 161.49user 9.05system 1:48.85elapsed 156%CPU (0avgtext+0avgdata 356784maxresident)k 0inputs+0outputs (0major+4208245minor)pagefaults 0swaps 166.59user 11.54system 1:59.91elapsed 148%CPU (0avgtext+0avgdata 356784maxresident)k 104inputs+0outputs (0major+4568899minor)pagefaults 0swaps --- libmozjs-1.8.5-alt2.x86_64.rpm.repo 2011-09-07 17:24:50.000000000 +0000 +++ libmozjs-1.8.5-alt2.x86_64.rpm.hasher 2019-04-14 02:42:23.357532106 +0000 @@ -2,3 +2,5 @@ /usr/lib64/libmozjs185.so.1.0.0 100644 +Requires: libc.so.6(GLIBC_2.14)(64bit) Requires: libc.so.6(GLIBC_2.2.5)(64bit) +Requires: libc.so.6(GLIBC_2.3)(64bit) Requires: libc.so.6(GLIBC_2.3.4)(64bit) --- libmozjs-debuginfo-1.8.5-alt2.x86_64.rpm.repo 2011-09-07 17:24:50.000000000 +0000 +++ libmozjs-debuginfo-1.8.5-alt2.x86_64.rpm.hasher 2019-04-14 02:42:23.506530487 +0000 @@ -2,3 +2,2 @@ /usr/lib/debug/usr/lib64/libmozjs185.so.1.0.debug 120777 libmozjs185.so.1.0.0.debug -/usr/lib/debug/usr/lib64/libmozjs185.so.debug 120777 libmozjs185.so.1.0.0.debug /usr/src/debug/libmozjs-1.8.5 40755 @@ -102,2 +101,3 @@ /usr/src/debug/libmozjs-1.8.5/js/src/jshashtable.h 100644 +/usr/src/debug/libmozjs-1.8.5/js/src/jshotloop.h 100644 /usr/src/debug/libmozjs-1.8.5/js/src/jsinterp.cpp 100644 @@ -235,2 +235,3 @@ /usr/src/debug/libmozjs-1.8.5/js/src/nanojit/VMPI.cpp 100644 +/usr/src/debug/libmozjs-1.8.5/js/src/nanojit/VMPI.h 100644 /usr/src/debug/libmozjs-1.8.5/js/src/nanojit/avmplus.cpp 100644 @@ -286,2 +287,3 @@ /usr/src/debug/libmozjs-1.8.5/js/src/yarr/yarr/RegexCompiler.cpp 100644 +/usr/src/debug/libmozjs-1.8.5/js/src/yarr/yarr/RegexCompiler.h 100644 /usr/src/debug/libmozjs-1.8.5/js/src/yarr/yarr/RegexJIT.cpp 100644